记录详情

Compile Error

/in/Main.java:1: error: illegal character: '#'
#include<iostream>
^
/in/Main.java:1: error: class, interface, or enum expected
#include<iostream>
        ^
/in/Main.java:2: error: illegal character: '#'
#include<algorithm>
^
/in/Main.java:3: error: illegal character: '#'
#include<cstdio>
^
/in/Main.java:4: error: illegal character: '#'
#include<cstring>
^
/in/Main.java:5: error: illegal character: '#'
#include<cmath>
^
/in/Main.java:7: error: class, interface, or enum expected
int main(){
^
/in/Main.java:9: error: class, interface, or enum expected
	cin>>n>>x;
	^
/in/Main.java:10: error: class, interface, or enum expected
	l<10;
	^
/in/Main.java:11: error: class, interface, or enum expected
	for(i=1;i<=n;i++){
	^
/in/Main.java:11: error: class, interface, or enum expected
	for(i=1;i<=n;i++){
	        ^
/in/Main.java:11: error: class, interface, or enum expected
	for(i=1;i<=n;i++){
	             ^
/in/Main.java:14: error: class, interface, or enum expected
			l++;
			^
/in/Main.java:16: error: class, interface, or enum expected
		}
		^
/in/Main.java:19: error: class, interface, or enum expected
			ans++;
			^
/in/Main.java:20: error: class, interface, or enum expected
			l=l/10;
			^
/in/Main.java:21: error: class, interface, or enum expected
			l%10==x;
			^
/in/Main.java:22: error: class, interface, or enum expected
			ans++;
			^
/in/Main.java:23: error: class, interface, or enum expected
			l++;
			^
/in/Main.java:24: error: class, interface, or enum expected
		}
		^
/in/Main.java:27: error: class, interface, or enum expected
}
^
21 errors

信息

递交者
类型
递交
题目
计数问题
语言
Java
递交时间
2018-08-25 21:51:41
评测时间
2018-08-25 21:51:41
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes