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_36101768_2023\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_36101768_2023\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_36101768_2023\Main.java:2: 错误: 非法字符: '#'
#include<string>
^
0_0_36101768_2023\Main.java:3: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_36101768_2023\Main.java:4: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_36101768_2023\Main.java:7: 错误: 需要class, interface或enum
typedef struct 
^
0_0_36101768_2023\Main.java:10: 错误: 需要class, interface或enum
    string name;
    ^
0_0_36101768_2023\Main.java:11: 错误: 需要class, interface或enum
}disney;
^
0_0_36101768_2023\Main.java:13: 错误: 需要class, interface或enum
bool cmp(disney a,disney b)
^
0_0_36101768_2023\Main.java:17: 错误: 需要class, interface或enum
	else
	^
0_0_36101768_2023\Main.java:19: 错误: 需要class, interface或enum
}
^
0_0_36101768_2023\Main.java:23: 错误: 需要class, interface或enum
void NEW(disney a[],disney b)
^
0_0_36101768_2023\Main.java:26: 错误: 需要class, interface或enum
	for(i=0;i<sum;i++)
	^
0_0_36101768_2023\Main.java:26: 错误: 需要class, interface或enum
	for(i=0;i<sum;i++)
	        ^
0_0_36101768_2023\Main.java:26: 错误: 需要class, interface或enum
	for(i=0;i<sum;i++)
	              ^
0_0_36101768_2023\Main.java:29: 错误: 需要class, interface或enum
		if(i==sum&&sum<=100)
		^
0_0_36101768_2023\Main.java:32: 错误: 需要class, interface或enum
			a[sum].score=b.score;
			^
0_0_36101768_2023\Main.java:33: 错误: 需要class, interface或enum
			sum++;
			^
0_0_36101768_2023\Main.java:34: 错误: 需要class, interface或enum
			cout<<"A new record"<<endl;
			^
0_0_36101768_2023\Main.java:35: 错误: 需要class, interface或enum
		}
		^
0_0_36101768_2023\Main.java:39: 错误: 需要class, interface或enum
			cout<<"update succeed"<<endl;
			^
0_0_36101768_2023\Main.java:40: 错误: 需要class, interface或enum
		}
		^
0_0_36101768_2023\Main.java:48: 错误: 需要class, interface或enum
		return ;
		^
0_0_36101768_2023\Main.java:49: 错误: 需要class, interface或enum
	}
	^
0_0_36101768_2023\Main.java:52: 错误: 需要class, interface或enum
	double s=0,t;
	^
0_0_36101768_2023\Main.java:53: 错误: 需要class, interface或enum
	for(i=0;i<sum;i++)
	^
0_0_36101768_2023\Main.java:53: 错误: 需要class, interface或enum
	for(i=0;i<sum;i++)
	        ^
0_0_36101768_2023\Main.java:53: 错误: 需要class, interface或enum
	for(i=0;i<sum;i++)
	              ^
0_0_36101768_2023\Main.java:55: 错误: 需要class, interface或enum
	t=s/sum;
	^
0_0_36101768_2023\Main.java:56: 错误: 需要class, interface或enum
	printf("%.2lf\n",t);
	^
0_0_36101768_2023\Main.java:57: 错误: 需要class, interface或enum
}
^
0_0_36101768_2023\Main.java:64: 错误: 需要class, interface或enum
	    return ;
	    ^
0_0_36101768_2023\Main.java:65: 错误: 需要class, interface或enum
	}
	^
0_0_36101768_2023\Main.java:68: 错误: 需要class, interface或enum
	sort(a,a+sum,cmp);
	^
0_0_36101768_2023\Main.java:69: 错误: 需要class, interface或enum
		for(i=1;i<sum;i++)
		^
0_0_36101768_2023\Main.java:69: 错误: 需要class, interface或enum
		for(i=1;i<sum;i++)
		        ^
0_0_36101768_2023\Main.java:69: 错误: 需要class, interface或enum
		for(i=1;i<sum;i++)
		              ^
0_0_36101768_2023\Main.java:73: 错误: 需要class, interface或enum
			else
			^
0_0_36101768_2023\Main.java:75: 错误: 需要class, interface或enum
		}
		^
0_0_36101768_2023\Main.java:77: 错误: 需要class, interface或enum
		for(i=0;i<=num;i++)
		^
0_0_36101768_2023\Main.java:77: 错误: 需要class, interface或enum
		for(i=0;i<=num;i++)
		        ^
0_0_36101768_2023\Main.java:77: 错误: 需要class, interface或enum
		for(i=0;i<=num;i++)
		               ^
0_0_36101768_2023\Main.java:79: 错误: 需要class, interface或enum
}
^
0_0_36101768_2023\Main.java:83: 错误: 需要class, interface或enum
	for(int i=0;i<sum;i++)
	            ^
0_0_36101768_2023\Main.java:83: 错误: 需要class, interface或enum
	for(int i=0;i<sum;i++)
	                  ^
0_0_36101768_2023\Main.java:86: 错误: 需要class, interface或enum
		if(i==sum)
		^
0_0_36101768_2023\Main.java:88: 错误: 需要class, interface或enum
		else
		^
0_0_36101768_2023\Main.java:90: 错误: 需要class, interface或enum
     	a[i].score=0;
     	^
0_0_36101768_2023\Main.java:91: 错误: 需要class, interface或enum
     	sort(a,a+sum,cmp);
     	^
0_0_36101768_2023\Main.java:92: 错误: 需要class, interface或enum
	    sum--;
	    ^
0_0_36101768_2023\Main.java:93: 错误: 需要class, interface或enum
		}
		^
0_0_36101768_2023\Main.java:98: 错误: 需要class, interface或enum
	disney b;
	^
0_0_36101768_2023\Main.java:99: 错误: 需要class, interface或enum
	string s,str;
	^
0_0_36101768_2023\Main.java:100: 错误: 需要class, interface或enum
	while(cin>>s)
	^
0_0_36101768_2023\Main.java:105: 错误: 需要class, interface或enum
			NEW(a,b);
			^
0_0_36101768_2023\Main.java:106: 错误: 需要class, interface或enum
		}
		^
0_0_36101768_2023\Main.java:109: 错误: 需要class, interface或enum
		else if(s=="MAX")
		^
0_0_36101768_2023\Main.java:111: 错误: 需要class, interface或enum
		else if(s=="DELETE")
		^
0_0_36101768_2023\Main.java:114: 错误: 需要class, interface或enum
		    Delete(a,str);
		    ^
0_0_36101768_2023\Main.java:115: 错误: 需要class, interface或enum
		}
		^
0_0_36101768_2023\Main.java:118: 错误: 需要class, interface或enum
	}
	^
0_0_36101768_2023\Main.java:120: 错误: 需要class, interface或enum
}
^
62 个错误


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-02 18:41:49, Gzip enabled