F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_34641938_27413\Main.java:2: 错误: 非法字符: '#'
#include<stdio.h>
^
0_0_34641938_27413\Main.java:2: 错误: 需要class, interface或enum
#include<stdio.h>
        ^
0_0_34641938_27413\Main.java:3: 错误: 非法字符: '#'
#include<string.h>
^
0_0_34641938_27413\Main.java:4: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_34641938_27413\Main.java:8: 错误: 需要class, interface或enum
int main()
^
0_0_34641938_27413\Main.java:11: 错误: 需要class, interface或enum
	int pre,i;
	^
0_0_34641938_27413\Main.java:12: 错误: 需要class, interface或enum
	int x,Y;
	^
0_0_34641938_27413\Main.java:13: 错误: 需要class, interface或enum
	while(gets(str)&&str[0]!='\0')
	^
0_0_34641938_27413\Main.java:16: 错误: 需要class, interface或enum
		x=310; Y=420;
		^
0_0_34641938_27413\Main.java:16: 错误: 需要class, interface或enum
		x=310; Y=420;
		       ^
0_0_34641938_27413\Main.java:17: 错误: 需要class, interface或enum
		pre=0;
		^
0_0_34641938_27413\Main.java:18: 错误: 需要class, interface或enum
		for(i=0;str[i];i++)
		^
0_0_34641938_27413\Main.java:18: 错误: 需要class, interface或enum
		for(i=0;str[i];i++)
		        ^
0_0_34641938_27413\Main.java:18: 错误: 需要class, interface或enum
		for(i=0;str[i];i++)
		               ^
0_0_34641938_27413\Main.java:21: 错误: 需要class, interface或enum
			int l;
			^
0_0_34641938_27413\Main.java:22: 错误: 需要class, interface或enum
			if(str[i]=='V')
			^
0_0_34641938_27413\Main.java:25: 错误: 需要class, interface或enum
				if(pre==0)
				^
0_0_34641938_27413\Main.java:28: 错误: 需要class, interface或enum
					pre=1;
					^
0_0_34641938_27413\Main.java:29: 错误: 需要class, interface或enum
				}
				^
0_0_34641938_27413\Main.java:33: 错误: 需要class, interface或enum
					pre=2;
					^
0_0_34641938_27413\Main.java:34: 错误: 需要class, interface或enum
				}
				^
0_0_34641938_27413\Main.java:38: 错误: 需要class, interface或enum
					pre=3;
					^
0_0_34641938_27413\Main.java:39: 错误: 需要class, interface或enum
				}
				^
0_0_34641938_27413\Main.java:43: 错误: 需要class, interface或enum
					pre=0;
					^
0_0_34641938_27413\Main.java:44: 错误: 需要class, interface或enum
				}
				^
0_0_34641938_27413\Main.java:49: 错误: 需要class, interface或enum
				if(pre==0)
				^
0_0_34641938_27413\Main.java:52: 错误: 需要class, interface或enum
					pre=3;
					^
0_0_34641938_27413\Main.java:53: 错误: 需要class, interface或enum
				}
				^
0_0_34641938_27413\Main.java:57: 错误: 需要class, interface或enum
					pre=0;
					^
0_0_34641938_27413\Main.java:58: 错误: 需要class, interface或enum
				}
				^
0_0_34641938_27413\Main.java:62: 错误: 需要class, interface或enum
					pre=1;
					^
0_0_34641938_27413\Main.java:63: 错误: 需要class, interface或enum
				}
				^
0_0_34641938_27413\Main.java:67: 错误: 需要class, interface或enum
					pre=2;
					^
0_0_34641938_27413\Main.java:68: 错误: 需要class, interface或enum
				}
				^
0_0_34641938_27413\Main.java:71: 错误: 需要class, interface或enum
		}
		^
0_0_34641938_27413\Main.java:73: 错误: 需要class, interface或enum
		memset(str,0,sizeof(str));
		^
0_0_34641938_27413\Main.java:74: 错误: 需要class, interface或enum
	}
	^
0_0_34641938_27413\Main.java:76: 错误: 需要class, interface或enum
}
^
38 个错误


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-12-01 12:01:52, Gzip enabled