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_35412849_9682\Main.java:1: 错误: 非法字符: '#'
#include<stdio.h>
^
0_0_35412849_9682\Main.java:1: 错误: 需要class, interface或enum
#include<stdio.h>
        ^
0_0_35412849_9682\Main.java:7: 错误: 需要class, interface或enum
	scanf("%d",&n);
	^
0_0_35412849_9682\Main.java:8: 错误: 需要class, interface或enum
	while(n--)
	^
0_0_35412849_9682\Main.java:11: 错误: 需要class, interface或enum
		scanf("%d%d",&x,&y);
		^
0_0_35412849_9682\Main.java:12: 错误: 需要class, interface或enum
		int a[1000];
		^
0_0_35412849_9682\Main.java:13: 错误: 需要class, interface或enum
		int b[1000];
		^
0_0_35412849_9682\Main.java:14: 错误: 需要class, interface或enum
		int c[1000];
		^
0_0_35412849_9682\Main.java:15: 错误: 需要class, interface或enum
		for(int i=0;i<x;i++)
		^
0_0_35412849_9682\Main.java:15: 错误: 需要class, interface或enum
		for(int i=0;i<x;i++)
		            ^
0_0_35412849_9682\Main.java:15: 错误: 需要class, interface或enum
		for(int i=0;i<x;i++)
		                ^
0_0_35412849_9682\Main.java:18: 错误: 需要class, interface或enum
		}
		^
0_0_35412849_9682\Main.java:20: 错误: 需要class, interface或enum
		int flag=0;
		^
0_0_35412849_9682\Main.java:21: 错误: 需要class, interface或enum
		int w=x;
		^
0_0_35412849_9682\Main.java:22: 错误: 需要class, interface或enum
		int f1=0;
		^
0_0_35412849_9682\Main.java:23: 错误: 需要class, interface或enum
		for(num=0;;num++)
		^
0_0_35412849_9682\Main.java:23: 错误: 需要class, interface或enum
		for(num=0;;num++)
		           ^
0_0_35412849_9682\Main.java:26: 错误: 需要class, interface或enum
			b[f1++]=a[w-1];
			^
0_0_35412849_9682\Main.java:27: 错误: 需要class, interface或enum
			if(flag==1)
			^
0_0_35412849_9682\Main.java:29: 错误: 需要class, interface或enum
			for(int i=0;i<w-1;i++)
			^
0_0_35412849_9682\Main.java:29: 错误: 需要class, interface或enum
			for(int i=0;i<w-1;i++)
			            ^
0_0_35412849_9682\Main.java:29: 错误: 需要class, interface或enum
			for(int i=0;i<w-1;i++)
			                  ^
0_0_35412849_9682\Main.java:34: 错误: 需要class, interface或enum
				}
				^
0_0_35412849_9682\Main.java:38: 错误: 需要class, interface或enum
			if(flag==0)
			^
0_0_35412849_9682\Main.java:40: 错误: 需要class, interface或enum
				for(int i=0;i<w-1;i++)
				            ^
0_0_35412849_9682\Main.java:40: 错误: 需要class, interface或enum
				for(int i=0;i<w-1;i++)
				                  ^
0_0_35412849_9682\Main.java:42: 错误: 需要class, interface或enum
			}		
			^
0_0_35412849_9682\Main.java:44: 错误: 需要class, interface或enum
		}
		^
0_0_35412849_9682\Main.java:45: 错误: 需要class, interface或enum
		for(int i=0;i<y;i++)
		            ^
0_0_35412849_9682\Main.java:45: 错误: 需要class, interface或enum
		for(int i=0;i<y;i++)
		                ^
0_0_35412849_9682\Main.java:48: 错误: 需要class, interface或enum
		}
		^
0_0_35412849_9682\Main.java:49: 错误: 需要class, interface或enum
		for(int i=num-2;i>=0;i--)
		                ^
0_0_35412849_9682\Main.java:49: 错误: 需要class, interface或enum
		for(int i=num-2;i>=0;i--)
		                     ^
0_0_35412849_9682\Main.java:52: 错误: 需要class, interface或enum
			for(int j=1;j<y;j++)
			^
0_0_35412849_9682\Main.java:52: 错误: 需要class, interface或enum
			for(int j=1;j<y;j++)
			            ^
0_0_35412849_9682\Main.java:52: 错误: 需要class, interface或enum
			for(int j=1;j<y;j++)
			                ^
0_0_35412849_9682\Main.java:54: 错误: 需要class, interface或enum
		}
		^
0_0_35412849_9682\Main.java:56: 错误: 需要class, interface或enum
		for(int i=0;i<y;i++)
		^
0_0_35412849_9682\Main.java:56: 错误: 需要class, interface或enum
		for(int i=0;i<y;i++)
		            ^
0_0_35412849_9682\Main.java:56: 错误: 需要class, interface或enum
		for(int i=0;i<y;i++)
		                ^
0_0_35412849_9682\Main.java:58: 错误: 需要class, interface或enum
		printf("\n");
		^
0_0_35412849_9682\Main.java:59: 错误: 需要class, interface或enum
	}
	^
0_0_35412849_9682\Main.java:61: 错误: 需要class, interface或enum
}
^
43 个错误


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-11-30 00:52:22, Gzip enabled