记录详情

Compile Error

./Main.java:1: error: illegal character: '#'
#include <iostream>
^
./Main.java:1: error: class, interface, or enum expected
#include <iostream>
         ^
./Main.java:3: error: class, interface, or enum expected
int main()
^
./Main.java:6: error: class, interface, or enum expected
	cin>>n;
	^
./Main.java:7: error: class, interface, or enum expected
	for(i=0;i<n;i++)
	^
./Main.java:7: error: class, interface, or enum expected
	for(i=0;i<n;i++)
	        ^
./Main.java:7: error: class, interface, or enum expected
	for(i=0;i<n;i++)
	            ^
./Main.java:10: error: class, interface, or enum expected
	}
	^
./Main.java:13: error: class, interface, or enum expected
	for(i=0;i<n;i++)
	^
./Main.java:13: error: class, interface, or enum expected
	for(i=0;i<n;i++)
	        ^
./Main.java:13: error: class, interface, or enum expected
	for(i=0;i<n;i++)
	            ^
./Main.java:18: error: class, interface, or enum expected
		}	
		^
./Main.java:20: error: class, interface, or enum expected
	for(i=0;i<n;i++)
	        ^
./Main.java:20: error: class, interface, or enum expected
	for(i=0;i<n;i++)
	            ^
./Main.java:23: error: class, interface, or enum expected
	}
	^
./Main.java:25: error: class, interface, or enum expected
	return 0;
	^
./Main.java:26: error: class, interface, or enum expected
}
^
17 errors

信息

递交者
类型
递交
题目
P1214 C8 最大值的出现次数
比赛
2020苏青奥赛集训营(2021-1-30课堂小练)
语言
Java
递交时间
2021-01-30 20:48:04
评测时间
2021-01-30 20:48:04
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes