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_28026238_9366\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_28026238_9366\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_28026238_9366\Main.java:4: 错误: 非法字符: '#'
#define pb push_back
^
0_0_28026238_9366\Main.java:4: 错误: 需要class, interface或enum
#define pb push_back
        ^
0_0_28026238_9366\Main.java:5: 错误: 非法字符: '#'
#define clr(a,val) memset(a,val,sizeof (a))
^
0_0_28026238_9366\Main.java:6: 错误: 非法字符: '#'
#define fi first
^
0_0_28026238_9366\Main.java:7: 错误: 非法字符: '#'
#define se second
^
0_0_28026238_9366\Main.java:8: 错误: 非法字符: '#'
#define eps 1e-6
^
0_0_28026238_9366\Main.java:9: 错误: 非法字符: '#'
#define PI acos(-1.0)
^
0_0_28026238_9366\Main.java:11: 错误: 需要class, interface或enum
const int INF=0x3f3f3f3f;
^
0_0_28026238_9366\Main.java:12: 错误: 需要class, interface或enum
const int maxn=1e5+10;
^
0_0_28026238_9366\Main.java:13: 错误: 需要class, interface或enum
int n,m,head[maxn],tot,df,dfn[maxn];
^
0_0_28026238_9366\Main.java:14: 错误: 需要class, interface或enum
int L,R,ans1,ans2;
^
0_0_28026238_9366\Main.java:15: 错误: 需要class, interface或enum
struct Edge{
^
0_0_28026238_9366\Main.java:17: 错误: 需要class, interface或enum
} edge[maxn<<1];
^
0_0_28026238_9366\Main.java:18: 错误: 需要class, interface或enum
struct Node{
^
0_0_28026238_9366\Main.java:20: 错误: 需要class, interface或enum
} node[maxn];
^
0_0_28026238_9366\Main.java:21: 错误: 需要class, interface或enum
vector<int> vec;
^
0_0_28026238_9366\Main.java:22: 错误: 需要class, interface或enum
void addedge(int u,int v,int w)
^
0_0_28026238_9366\Main.java:25: 错误: 需要class, interface或enum
	node[tot].nxt=head[u];
	^
0_0_28026238_9366\Main.java:26: 错误: 需要class, interface或enum
	head[u]=tot++;
	^
0_0_28026238_9366\Main.java:27: 错误: 需要class, interface或enum
}
^
0_0_28026238_9366\Main.java:30: 错误: 需要class, interface或enum
bool topo()
^
0_0_28026238_9366\Main.java:33: 错误: 需要class, interface或enum
	for(int i=1;i<=n;++i){if(!ind[i]) q.push(i),dfn[i]=++df;}
	^
0_0_28026238_9366\Main.java:33: 错误: 需要class, interface或enum
	for(int i=1;i<=n;++i){if(!ind[i]) q.push(i),dfn[i]=++df;}
	            ^
0_0_28026238_9366\Main.java:33: 错误: 需要class, interface或enum
	for(int i=1;i<=n;++i){if(!ind[i]) q.push(i),dfn[i]=++df;}
	                 ^
0_0_28026238_9366\Main.java:33: 错误: 需要class, interface或enum
	for(int i=1;i<=n;++i){if(!ind[i]) q.push(i),dfn[i]=++df;}
	                                                        ^
0_0_28026238_9366\Main.java:36: 错误: 需要class, interface或enum
		int u=q.front();q.pop();
		                ^
0_0_28026238_9366\Main.java:37: 错误: 需要class, interface或enum
		for(int i=head[u];~i;i=node[i].nxt)
		^
0_0_28026238_9366\Main.java:37: 错误: 需要class, interface或enum
		for(int i=head[u];~i;i=node[i].nxt)
		                  ^
0_0_28026238_9366\Main.java:37: 错误: 需要class, interface或enum
		for(int i=head[u];~i;i=node[i].nxt)
		                     ^
0_0_28026238_9366\Main.java:39: 错误: 需要class, interface或enum
			int v=node[i].to;--ind[v];
			                 ^
0_0_28026238_9366\Main.java:40: 错误: 需要class, interface或enum
			if(!ind[v]) q.push(v),dfn[v]=++df;
			^
0_0_28026238_9366\Main.java:41: 错误: 需要class, interface或enum
		}
		^
0_0_28026238_9366\Main.java:43: 错误: 需要class, interface或enum
	for(int i=1;i<=n;++i) { if(!dfn[i]) return false; }
	            ^
0_0_28026238_9366\Main.java:43: 错误: 需要class, interface或enum
	for(int i=1;i<=n;++i) { if(!dfn[i]) return false; }
	                 ^
0_0_28026238_9366\Main.java:43: 错误: 需要class, interface或enum
	for(int i=1;i<=n;++i) { if(!dfn[i]) return false; }
	                                                  ^
0_0_28026238_9366\Main.java:45: 错误: 需要class, interface或enum
}
^
0_0_28026238_9366\Main.java:48: 错误: 需要class, interface或enum
	df=0;clr(dfn,0);tot=0;
	     ^
0_0_28026238_9366\Main.java:48: 错误: 需要class, interface或enum
	df=0;clr(dfn,0);tot=0;
	                ^
0_0_28026238_9366\Main.java:49: 错误: 需要class, interface或enum
	clr(head,-1);clr(ind,0);
	^
0_0_28026238_9366\Main.java:49: 错误: 需要class, interface或enum
	clr(head,-1);clr(ind,0);
	             ^
0_0_28026238_9366\Main.java:50: 错误: 需要class, interface或enum
	for(int i=1;i<=m;++i)
	^
0_0_28026238_9366\Main.java:50: 错误: 需要class, interface或enum
	for(int i=1;i<=m;++i)
	            ^
0_0_28026238_9366\Main.java:50: 错误: 需要class, interface或enum
	for(int i=1;i<=m;++i)
	                 ^
0_0_28026238_9366\Main.java:55: 错误: 需要class, interface或enum
			ind[edge[i].v]++;	
			^
0_0_28026238_9366\Main.java:56: 错误: 需要class, interface或enum
		}	
		^
0_0_28026238_9366\Main.java:59: 错误: 需要class, interface或enum
}
^
0_0_28026238_9366\Main.java:63: 错误: 需要class, interface或enum
	scanf("%d%d",&n,&m);R=0;L=0;ans2=0;
	                    ^
0_0_28026238_9366\Main.java:63: 错误: 需要class, interface或enum
	scanf("%d%d",&n,&m);R=0;L=0;ans2=0;
	                        ^
0_0_28026238_9366\Main.java:63: 错误: 需要class, interface或enum
	scanf("%d%d",&n,&m);R=0;L=0;ans2=0;
	                            ^
0_0_28026238_9366\Main.java:64: 错误: 需要class, interface或enum
	for(int i=1;i<=m;++i) 
	^
0_0_28026238_9366\Main.java:64: 错误: 需要class, interface或enum
	for(int i=1;i<=m;++i) 
	            ^
0_0_28026238_9366\Main.java:64: 错误: 需要class, interface或enum
	for(int i=1;i<=m;++i) 
	                 ^
0_0_28026238_9366\Main.java:66: 错误: 需要class, interface或enum
	while(L<=R)
	^
0_0_28026238_9366\Main.java:69: 错误: 需要class, interface或enum
        if(check(mid)) ans1=mid,R=mid-1;
        ^
0_0_28026238_9366\Main.java:70: 错误: 需要class, interface或enum
        else L=mid+1;
        ^
0_0_28026238_9366\Main.java:71: 错误: 需要class, interface或enum
    }
    ^
0_0_28026238_9366\Main.java:73: 错误: 需要class, interface或enum
    for(int i=1;i<=m;++i)
    ^
0_0_28026238_9366\Main.java:73: 错误: 需要class, interface或enum
    for(int i=1;i<=m;++i)
                ^
0_0_28026238_9366\Main.java:73: 错误: 需要class, interface或enum
    for(int i=1;i<=m;++i)
                     ^
0_0_28026238_9366\Main.java:76: 错误: 需要class, interface或enum
	}	
	^
0_0_28026238_9366\Main.java:78: 错误: 需要class, interface或enum
	sort(vec.begin(),vec.end());
	^
0_0_28026238_9366\Main.java:79: 错误: 需要class, interface或enum
	for(int i=0,len=vec.size();i<len;++i) printf("%d%c",vec[i],i==len-1?'\n':' '); 
	^
0_0_28026238_9366\Main.java:79: 错误: 需要class, interface或enum
	for(int i=0,len=vec.size();i<len;++i) printf("%d%c",vec[i],i==len-1?'\n':' '); 
	                           ^
0_0_28026238_9366\Main.java:79: 错误: 需要class, interface或enum
	for(int i=0,len=vec.size();i<len;++i) printf("%d%c",vec[i],i==len-1?'\n':' '); 
	                                 ^
0_0_28026238_9366\Main.java:80: 错误: 需要class, interface或enum
	return 0;
	^
0_0_28026238_9366\Main.java:81: 错误: 需要class, interface或enum
}
^
68 个错误


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-23 06:26:13, Gzip enabled