运行 ID | 作者 | 题号 | 测评结果 | 分数 | 时间 | 内存 | 语言 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
645756 | CHENLV | 1034 - A+B 输入输出练习 II | 编译错误 | 0 | 0 MS | 0 KB | Java | 334 | 6天前 |
Main.java:1: error: class Solution is public, should be declared in a file named Solution.java
public class Solution{
^
Main.java:3: error: cannot find symbol
Scanner sc = new Scanner(System.in);
^
symbol: class Scanner
location: class Solution
Main.java:3: error: cannot find symbol
Scanner sc = new Scanner(System.in);
^
symbol: class Scanner
location: class Solution
3 errors