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_5353828_13926\Main.java:1: illegal character: \35
#include <iostream>
^
0_0_5353828_13926\Main.java:2: illegal character: \35
#include<queue>
^
0_0_5353828_13926\Main.java:3: illegal character: \35
#include<cstring>
^
0_0_5353828_13926\Main.java:4: illegal character: \35
#include<algorithm>
^
0_0_5353828_13926\Main.java:6: illegal character: \35
#define INF 0x7f7f7f7f
^
0_0_5353828_13926\Main.java:9: class, interface, or enum expected
int head[20010];
^
0_0_5353828_13926\Main.java:10: class, interface, or enum expected
int peo[20010];
^
0_0_5353828_13926\Main.java:12: class, interface, or enum expected
int main()
^
0_0_5353828_13926\Main.java:17: class, interface, or enum expected
		for(int i=0;i<n;i++)
		^
0_0_5353828_13926\Main.java:17: class, interface, or enum expected
		for(int i=0;i<n;i++)
		            ^
0_0_5353828_13926\Main.java:17: class, interface, or enum expected
		for(int i=0;i<n;i++)
		                ^
0_0_5353828_13926\Main.java:19: class, interface, or enum expected
		for(i=0;i<m;i++)
		^
0_0_5353828_13926\Main.java:19: class, interface, or enum expected
		for(i=0;i<m;i++)
		        ^
0_0_5353828_13926\Main.java:19: class, interface, or enum expected
		for(i=0;i<m;i++)
		            ^
0_0_5353828_13926\Main.java:21: class, interface, or enum expected
		sort(head,head+n);
		^
0_0_5353828_13926\Main.java:22: class, interface, or enum expected
		sort(peo,peo+m);
		^
0_0_5353828_13926\Main.java:23: class, interface, or enum expected
		int k=0,ans=0;
		^
0_0_5353828_13926\Main.java:24: class, interface, or enum expected
		for(i=0;i<n;i++)
		^
0_0_5353828_13926\Main.java:24: class, interface, or enum expected
		for(i=0;i<n;i++)
		        ^
0_0_5353828_13926\Main.java:24: class, interface, or enum expected
		for(i=0;i<n;i++)
		            ^
0_0_5353828_13926\Main.java:28: class, interface, or enum expected
			if(k>=m) break;
			^
0_0_5353828_13926\Main.java:29: class, interface, or enum expected
			ans+=peo[k];k++;
			^
0_0_5353828_13926\Main.java:29: class, interface, or enum expected
			ans+=peo[k];k++;
			            ^
0_0_5353828_13926\Main.java:30: class, interface, or enum expected
		}
		^
0_0_5353828_13926\Main.java:32: class, interface, or enum expected
		else printf("%d\n",ans);
		^
0_0_5353828_13926\Main.java:33: class, interface, or enum expected
	}
	^
0_0_5353828_13926\Main.java:35: class, interface, or enum expected
}
^
27 errors


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-25 17:33:19, Gzip enabled