0_0_4872344_3271\Main.java:8: 找不到符号 符号: 方法 nextLine() 位置: 类 java.lang.String str = str.nextLine(); ^ 0_0_4872344_3271\Main.java:10: 找不到符号 符号: 方法 length() 位置: 类 java.lang.String[] int[] a = new int[snum.length()]; ^ 2 错误