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_13622450_2622\Main.java:1: 错误: 非法字符: '#'
#include<stdio.h>
^
0_0_13622450_2622\Main.java:1: 错误: 需要class, interface或enum
#include<stdio.h>
        ^
0_0_13622450_2622\Main.java:5: 错误: 需要class, interface或enum
	int sum;
	^
0_0_13622450_2622\Main.java:6: 错误: 需要class, interface或enum
};
^
0_0_13622450_2622\Main.java:7: 错误: 需要class, interface或enum
node a[100010];
^
0_0_13622450_2622\Main.java:8: 错误: 需要class, interface或enum
typedef struct Node
^
0_0_13622450_2622\Main.java:11: 错误: 需要class, interface或enum
	int end;
	^
0_0_13622450_2622\Main.java:12: 错误: 需要class, interface或enum
	int sum;
	^
0_0_13622450_2622\Main.java:13: 错误: 需要class, interface或enum
};
^
0_0_13622450_2622\Main.java:14: 错误: 需要class, interface或enum
Node ma;
^
0_0_13622450_2622\Main.java:15: 错误: 需要class, interface或enum
int main()
^
0_0_13622450_2622\Main.java:18: 错误: 需要class, interface或enum
	scanf("%d",&t);
	^
0_0_13622450_2622\Main.java:19: 错误: 需要class, interface或enum
	for(int i=0;i<t;++i)
	^
0_0_13622450_2622\Main.java:19: 错误: 需要class, interface或enum
	for(int i=0;i<t;++i)
	            ^
0_0_13622450_2622\Main.java:19: 错误: 需要class, interface或enum
	for(int i=0;i<t;++i)
	                ^
0_0_13622450_2622\Main.java:22: 错误: 需要class, interface或enum
		for(int j=0;j<n;++j)
		^
0_0_13622450_2622\Main.java:22: 错误: 需要class, interface或enum
		for(int j=0;j<n;++j)
		            ^
0_0_13622450_2622\Main.java:22: 错误: 需要class, interface或enum
		for(int j=0;j<n;++j)
		                ^
0_0_13622450_2622\Main.java:25: 错误: 需要class, interface或enum
		}
		^
0_0_13622450_2622\Main.java:27: 错误: 需要class, interface或enum
		ma.sum=a[n-1].sum;
		^
0_0_13622450_2622\Main.java:28: 错误: 需要class, interface或enum
		ma.end=n-1;
		^
0_0_13622450_2622\Main.java:29: 错误: 需要class, interface或enum
		ma.start=n-1;
		^
0_0_13622450_2622\Main.java:30: 错误: 需要class, interface或enum
		for(int j=n-2;j>=0;--j)
		^
0_0_13622450_2622\Main.java:30: 错误: 需要class, interface或enum
		for(int j=n-2;j>=0;--j)
		              ^
0_0_13622450_2622\Main.java:30: 错误: 需要class, interface或enum
		for(int j=n-2;j>=0;--j)
		                   ^
0_0_13622450_2622\Main.java:35: 错误: 需要class, interface或enum
				a[j].end=a[j+1].end;
				^
0_0_13622450_2622\Main.java:36: 错误: 需要class, interface或enum
			}
			^
0_0_13622450_2622\Main.java:40: 错误: 需要class, interface或enum
			}
			^
0_0_13622450_2622\Main.java:44: 错误: 需要class, interface或enum
				ma.end=a[j].end;
				^
0_0_13622450_2622\Main.java:45: 错误: 需要class, interface或enum
				ma.sum=a[j].sum;
				^
0_0_13622450_2622\Main.java:46: 错误: 需要class, interface或enum
			}
			^
0_0_13622450_2622\Main.java:49: 错误: 需要class, interface或enum
		if(i!=t-1)
		^
0_0_13622450_2622\Main.java:52: 错误: 需要class, interface或enum
		}
		^
0_0_13622450_2622\Main.java:56: 错误: 需要class, interface或enum
		}
		^
0_0_13622450_2622\Main.java:59: 错误: 需要class, interface或enum
}
^
35 个错误


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-29 11:43:56, Gzip enabled