第一题 public class duxiaoman_01 { public static void main(String[] args) { Scanner in = new Scanner(System.in); while(in.hasNext()){ int n = in.nextInt(); int k = in.nextInt(); int[] nums = new int[n]; for(int i=0; i<n; i++){...