摘要:
1.2-2算法测试:c#代码如下: 1 static void Main(string[] args) 2 { 3 Console.WriteLine("假设两种算法每执行一步为1m:"); 4 for (int n = 1; n <= 100;n++) 5 { 6 double insertAlgo = 8 * n * n; 7 double mergerAlog = 64 * n * System.Math.Log10(n); 8 Console.WriteLine("{0} 插入算法时间:{1}-------归并算... 阅读全文