public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); String[] strs = new String[N]; int i=0; sc.nextLine();// 8 缺失的一行 for(i=0;i<N;i++){ strs[i] = sc.nextLine(); ...