记录详情

Compile Error

/in/Main.java:3: error: class test is public, should be declared in a file named test.java
public class test{
       ^
/in/Main.java:5: error: cannot find symbol
Scanner sc=new Scanner(System.in);
^
  symbol:   class Scanner
  location: class test
/in/Main.java:5: error: cannot find symbol
Scanner sc=new Scanner(System.in);
               ^
  symbol:   class Scanner
  location: class test
3 errors

信息

递交者
类型
递交
题目
欢迎来到南师大计算机学院OnlineJudge!
语言
Java
递交时间
2018-12-11 20:05:30
评测时间
2018-12-11 20:05:57
评测机
分数
0
总耗时
916ms
峰值内存
38.117 MiB