记录详情

Compile Error

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

信息

递交者
类型
递交
题目
P1563 Problem 1A. Factorial
比赛
2024春 悬赏令第一周
语言
Java
递交时间
2024-04-19 15:15:23
评测时间
2024-04-19 15:15:23
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes