摘要: [代码] 阅读全文
posted @ 2009-11-19 13:24 亦心 阅读(345) 评论(1) 推荐(0) 编辑
摘要: 要求:不允许使用库函数及外部库,不允许使用现成的排序算法和哈希算法函数1、两个元素之差的最大值private static void GetMaxMin(int[] arrys) { //int[] arrys = new int[] { 3, 5, 1, 6, 9, 8, 4, 7, 2 }; int max = arrys[0]; int min = arrys[0]; for (int i ... 阅读全文
posted @ 2009-11-19 13:16 亦心 阅读(1131) 评论(0) 推荐(0) 编辑