2.3 归并排序 接口定义: int merge(void* data, int esize, int lpos, int dpos, int rpos, int (*compare)(const void* key1, const void* key2)); 返回值:成功 0:失败 -1. int merge_sort(void* data, int size, int esize, int lpos, int rpos, int (*compare)(const void* key1, co…
import java.util.Scanner; public class OrderBy { public static void main(String[] args) { // Scanner scan = new Scanner(System.in); // System.out.println("1到n的和,请输入n···"); // int i = scan.nextInt(); System.out.println(fun(100));//递归 int[] aArray…