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_29616430_10944\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_29616430_10944\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_29616430_10944\Main.java:2: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_29616430_10944\Main.java:3: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_29616430_10944\Main.java:4: 错误: 非法字符: '#'
#include <cstring>
^
0_0_29616430_10944\Main.java:5: 错误: 非法字符: '#'
#include <queue>
^
0_0_29616430_10944\Main.java:6: 错误: 非法字符: '#'
#include <vector>
^
0_0_29616430_10944\Main.java:8: 错误: 需要class, interface或enum
typedef long long ll;
^
0_0_29616430_10944\Main.java:9: 错误: 需要class, interface或enum
const int maxn=2e6+5;
^
0_0_29616430_10944\Main.java:10: 错误: 需要class, interface或enum
const int inf=0x3f3f3f3f;
^
0_0_29616430_10944\Main.java:11: 错误: 需要class, interface或enum
struct Edge{
^
0_0_29616430_10944\Main.java:13: 错误: 需要class, interface或enum
}edge[maxn];
^
0_0_29616430_10944\Main.java:14: 错误: 需要class, interface或enum
int tot,head[maxn];
^
0_0_29616430_10944\Main.java:15: 错误: 需要class, interface或enum
ll dis[maxn],d1[maxn];
^
0_0_29616430_10944\Main.java:16: 错误: 需要class, interface或enum
ll d3[maxn];
^
0_0_29616430_10944\Main.java:17: 错误: 需要class, interface或enum
void init(){
^
0_0_29616430_10944\Main.java:19: 错误: 需要class, interface或enum
	memset(head,-1,sizeof head);
	^
0_0_29616430_10944\Main.java:20: 错误: 需要class, interface或enum
}
^
0_0_29616430_10944\Main.java:23: 错误: 需要class, interface或enum
	edge[tot].t=val;
	^
0_0_29616430_10944\Main.java:24: 错误: 需要class, interface或enum
	edge[tot].next=head[u];
	^
0_0_29616430_10944\Main.java:25: 错误: 需要class, interface或enum
	head[u]=tot++;
	^
0_0_29616430_10944\Main.java:26: 错误: 需要class, interface或enum
}
^
0_0_29616430_10944\Main.java:28: 错误: 需要class, interface或enum
int N;
^
0_0_29616430_10944\Main.java:29: 错误: 需要class, interface或enum
void spfa(int s){
^
0_0_29616430_10944\Main.java:31: 错误: 需要class, interface或enum
	que[++now]=s;
	^
0_0_29616430_10944\Main.java:32: 错误: 需要class, interface或enum
	memset(vis,0,sizeof vis);
	^
0_0_29616430_10944\Main.java:33: 错误: 需要class, interface或enum
	vis[s]=true;
	^
0_0_29616430_10944\Main.java:34: 错误: 需要class, interface或enum
	for(int i=1;i<=N;i++){
	^
0_0_29616430_10944\Main.java:34: 错误: 需要class, interface或enum
	for(int i=1;i<=N;i++){
	            ^
0_0_29616430_10944\Main.java:34: 错误: 需要class, interface或enum
	for(int i=1;i<=N;i++){
	                 ^
0_0_29616430_10944\Main.java:36: 错误: 需要class, interface或enum
	}
	^
0_0_29616430_10944\Main.java:38: 错误: 需要class, interface或enum
	while(now){
	^
0_0_29616430_10944\Main.java:40: 错误: 需要class, interface或enum
		vis[u]=false;
		^
0_0_29616430_10944\Main.java:41: 错误: 需要class, interface或enum
		for(int i=head[u];i!=-1;i=edge[i].next){
		^
0_0_29616430_10944\Main.java:41: 错误: 需要class, interface或enum
		for(int i=head[u];i!=-1;i=edge[i].next){
		                  ^
0_0_29616430_10944\Main.java:41: 错误: 需要class, interface或enum
		for(int i=head[u];i!=-1;i=edge[i].next){
		                        ^
0_0_29616430_10944\Main.java:43: 错误: 需要class, interface或enum
			int w=edge[i].t;
			^
0_0_29616430_10944\Main.java:44: 错误: 需要class, interface或enum
			if(dis[v]>dis[u]+w){
			^
0_0_29616430_10944\Main.java:46: 错误: 需要class, interface或enum
				if(!vis[v]){
				^
0_0_29616430_10944\Main.java:48: 错误: 需要class, interface或enum
					que[++now]=v;
					^
0_0_29616430_10944\Main.java:49: 错误: 需要class, interface或enum
				}
				^
0_0_29616430_10944\Main.java:55: 错误: 需要class, interface或enum
int main(){
^
0_0_29616430_10944\Main.java:57: 错误: 需要class, interface或enum
	scanf("%d",&t);
	^
0_0_29616430_10944\Main.java:58: 错误: 需要class, interface或enum
	while(t--){
	^
0_0_29616430_10944\Main.java:60: 错误: 需要class, interface或enum
		scanf("%d%d",&n,&m);
		^
0_0_29616430_10944\Main.java:61: 错误: 需要class, interface或enum
		N=n+m*2+6;
		^
0_0_29616430_10944\Main.java:62: 错误: 需要class, interface或enum
		init();
		^
0_0_29616430_10944\Main.java:63: 错误: 需要class, interface或enum
		for(int i=1;i<=m;i++){
		^
0_0_29616430_10944\Main.java:63: 错误: 需要class, interface或enum
		for(int i=1;i<=m;i++){
		            ^
0_0_29616430_10944\Main.java:63: 错误: 需要class, interface或enum
		for(int i=1;i<=m;i++){
		                 ^
0_0_29616430_10944\Main.java:65: 错误: 需要class, interface或enum
			scanf("%d%d",&val,&s);
			^
0_0_29616430_10944\Main.java:66: 错误: 需要class, interface或enum
			for(int j=0;j<s;j++){
			^
0_0_29616430_10944\Main.java:66: 错误: 需要class, interface或enum
			for(int j=0;j<s;j++){
			            ^
0_0_29616430_10944\Main.java:66: 错误: 需要class, interface或enum
			for(int j=0;j<s;j++){
			                ^
0_0_29616430_10944\Main.java:68: 错误: 需要class, interface或enum
				add(n+i,vv,val);
				^
0_0_29616430_10944\Main.java:69: 错误: 需要class, interface或enum
				add(vv,n+i,0);
				^
0_0_29616430_10944\Main.java:70: 错误: 需要class, interface或enum
			}
			^
0_0_29616430_10944\Main.java:73: 错误: 需要class, interface或enum
		printf("Case #%d: ",cs++);
		^
0_0_29616430_10944\Main.java:74: 错误: 需要class, interface或enum
		if(dis[n]==inf){
		^
0_0_29616430_10944\Main.java:75: 错误: 需要class, interface或enum
			printf("Evil John\n");continue;
			                      ^
0_0_29616430_10944\Main.java:76: 错误: 需要class, interface或enum
		}
		^
0_0_29616430_10944\Main.java:77: 错误: 需要class, interface或enum
		for(int i=1;i<=n;i++){
		            ^
0_0_29616430_10944\Main.java:77: 错误: 需要class, interface或enum
		for(int i=1;i<=n;i++){
		                 ^
0_0_29616430_10944\Main.java:79: 错误: 需要class, interface或enum
		}
		^
0_0_29616430_10944\Main.java:81: 错误: 需要class, interface或enum
		int temp=inf,p=0;
		^
0_0_29616430_10944\Main.java:82: 错误: 需要class, interface或enum
		for(int i=1;i<=n;i++){
		^
0_0_29616430_10944\Main.java:82: 错误: 需要class, interface或enum
		for(int i=1;i<=n;i++){
		            ^
0_0_29616430_10944\Main.java:82: 错误: 需要class, interface或enum
		for(int i=1;i<=n;i++){
		                 ^
0_0_29616430_10944\Main.java:84: 错误: 需要class, interface或enum
			if(temp>d3[i]){
			^
0_0_29616430_10944\Main.java:86: 错误: 需要class, interface或enum
				p=i;
				^
0_0_29616430_10944\Main.java:87: 错误: 需要class, interface或enum
			}
			^
0_0_29616430_10944\Main.java:90: 错误: 需要class, interface或enum
		for(int i=p+1;i<=n;i++){
		^
0_0_29616430_10944\Main.java:90: 错误: 需要class, interface或enum
		for(int i=p+1;i<=n;i++){
		              ^
0_0_29616430_10944\Main.java:90: 错误: 需要class, interface或enum
		for(int i=p+1;i<=n;i++){
		                   ^
0_0_29616430_10944\Main.java:93: 错误: 需要class, interface或enum
			}
			^
0_0_29616430_10944\Main.java:96: 错误: 需要class, interface或enum
	}
	^
0_0_29616430_10944\Main.java:98: 错误: 需要class, interface或enum
}
^
77 个错误


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-26 18:31:36, Gzip enabled