/ Vijos /

记录详情

Compile Error

/in/Main.java:1: error: class, interface, or enum expected
	public static void main(String[] args) {
	              ^
/in/Main.java:4: error: class, interface, or enum expected
		int maxNum=scan.nextInt();
		^
/in/Main.java:5: error: class, interface, or enum expected
		int findNum=scan.nextInt();
		^
/in/Main.java:6: error: class, interface, or enum expected
		int jishu=0;
		^
/in/Main.java:7: error: class, interface, or enum expected
		for(int i=1;i<=maxNum;i++){
		^
/in/Main.java:7: error: class, interface, or enum expected
		for(int i=1;i<=maxNum;i++){
		            ^
/in/Main.java:7: error: class, interface, or enum expected
		for(int i=1;i<=maxNum;i++){
		                      ^
/in/Main.java:9: error: class, interface, or enum expected
			for(int j=0;j<tempStr.length();j++){
			^
/in/Main.java:9: error: class, interface, or enum expected
			for(int j=0;j<tempStr.length();j++){
			            ^
/in/Main.java:9: error: class, interface, or enum expected
			for(int j=0;j<tempStr.length();j++){
			                               ^
/in/Main.java:12: error: class, interface, or enum expected
			}
			^
/in/Main.java:15: error: class, interface, or enum expected
	}
	^
12 errors

信息

递交者
类型
递交
题目
P1848 记数问题
语言
Java
递交时间
2018-01-28 12:24:12
评测时间
2018-01-28 12:24:12
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes