摘要: #include #include xp(int num[], int n){ int min; int temp; int i; int j; for (i = 0; i num[j]){ min = j; } } temp = num[min]; num[min] = num[i]; num[i] = temp; }}main(){ int i; int num[] = {1, -2, 3, 10, -4, 7, 2, -5}; ... 阅读全文
posted @ 2014-03-20 09:56 yutoulck 阅读(174) 评论(0) 推荐(0) 编辑