摘要:
整型数组按照字典序排序 输入 ... 0,1,2,3,5,7,8,1001,10 9 ... 输出 ... 0,1,10,1001,2,3,5,7,8 Collections.sort(list, new Comparator<Integer>() { @Override public int co 阅读全文
摘要:
二维数组根据其下标,判断它是第几个元素 3 3 0 2 2 1 2 1 2 2 1 public class qqqq { static int row; static int col; public static void main(String[] args) { Scanner in = ne 阅读全文