记录详情

Compile Error

/in/Main.java:3: error: class Average is public, should be declared in a file named Average.java
public class Average {
       ^
/in/Main.java:4: error: cannot find symbol
	public static void main(string[] args) {
	                        ^
  symbol:   class string
  location: class Average
/in/Main.java:7: error: cannot find symbol
		double average = number1 / 4;
		                 ^
  symbol:   variable number1
  location: class Average
3 errors

信息

递交者
类型
递交
题目
P1002 购物
语言
Java
递交时间
2024-02-28 16:34:35
评测时间
2024-02-28 16:34:35
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes