0_0_14994641_24234\Main.java:5: 错误: 找不到符号
while(sc.hasNext){
^
符号: 变量 hasNext
位置: 类型为Scanner的变量 sc
0_0_14994641_24234\Main.java:5: 错误: 非法的类型开始
while(sc.hasNext){
^
0_0_14994641_24234\Main.java:6: 错误: 找不到符号
int n = nextInt();
^
符号: 方法 nextInt()
位置: 类 Main
3 个错误
|