摘要: 不带注释的选择排序: public void sort(int[] i) { for (int j = 0; j < i.length - 1; j++) { int min = i[j]; //假定最小值为当前值 int temp = j; //记录最小值的下标 for (int z = j; z 阅读全文
posted @ 2021-10-25 12:23 Selma003 阅读(85) 评论(0) 推荐(0)
摘要: 原题链接:https://codeforces.com/problemset/problem/208/A 学习链接:https://blog.csdn.net/cs_zlg/article/details/7782625 #include <bits/stdc++.h> using namespac 阅读全文
posted @ 2021-10-25 12:15 Selma003 阅读(39) 评论(0) 推荐(0)