/ Vijos /

记录详情

Compile Error

/in/Main.java:11: error: illegal start of type
		for (int i = 1; i <= a; i++) {
		^
/in/Main.java:11: error: ')' expected
		for (int i = 1; i <= a; i++) {
		          ^
/in/Main.java:11: error: illegal start of type
		for (int i = 1; i <= a; i++) {
		             ^
/in/Main.java:11: error: <identifier> expected
		for (int i = 1; i <= a; i++) {
		              ^
/in/Main.java:11: error: ';' expected
		for (int i = 1; i <= a; i++) {
		               ^
/in/Main.java:11: error: illegal start of type
		for (int i = 1; i <= a; i++) {
		                  ^
/in/Main.java:11: error: <identifier> expected
		for (int i = 1; i <= a; i++) {
		                         ^
/in/Main.java:11: error: illegal start of type
		for (int i = 1; i <= a; i++) {
		                           ^
/in/Main.java:11: error: <identifier> expected
		for (int i = 1; i <= a; i++) {
		                            ^
/in/Main.java:11: error: ';' expected
		for (int i = 1; i <= a; i++) {
		                              ^
/in/Main.java:12: error: <identifier> expected
			int j = i;
			     ^
/in/Main.java:13: error: illegal start of type
			while(j!=0){
			^
/in/Main.java:13: error: <identifier> expected
			while(j!=0){
			       ^
/in/Main.java:13: error: ';' expected
			while(j!=0){
			         ^
/in/Main.java:13: error: illegal start of type
			while(j!=0){
			          ^
/in/Main.java:13: error: <identifier> expected
			while(j!=0){
			           ^
/in/Main.java:13: error: ';' expected
			while(j!=0){
			            ^
/in/Main.java:14: error: illegal start of type
				if(j%10==b){
				  ^
/in/Main.java:14: error: ';' expected
				if(j%10==b){
				    ^
/in/Main.java:14: error: <identifier> expected
				if(j%10==b){
				          ^
/in/Main.java:17: error: <identifier> expected
				j=j/10;
				 ^
/in/Main.java:20: error: class, interface, or enum expected
		}
		^
/in/Main.java:22: error: class, interface, or enum expected
		}
		^
23 errors

信息

递交者
类型
自测
题目
P1848 记数问题
语言
Java
递交时间
2017-11-22 16:50:33
评测时间
2017-11-22 16:50:33
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes