2012年3月8日

摘要: 1.归并排序#include <stdio.h> #include <stdlib.h> #include <time.h> #define N 50000 void merge(int [],int,int,int);//归并排序数组合并函数声明 void mergesort(int [],int,int);//归并排序数组排序函数声明 //主函数 int main() { int i,a1[N]; double t1,t2,t3,t4; for(i=0;i<N;i++) { a1[i]=rand()%N; }... 阅读全文
posted @ 2012-03-08 22:32 yming0221 阅读(449) 评论(0) 推荐(1)

导航