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_37791209_23266\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_37791209_23266\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_37791209_23266\Main.java:2: 错误: 非法字符: '#'
#define R register int 
^
0_0_37791209_23266\Main.java:4: 错误: 需要class, interface或enum
const int N=100005;
^
0_0_37791209_23266\Main.java:5: 错误: 需要class, interface或enum
struct abc{
^
0_0_37791209_23266\Main.java:7: 错误: 需要class, interface或enum
}tr[N<<3];
^
0_0_37791209_23266\Main.java:8: 错误: 需要class, interface或enum
struct bca{
^
0_0_37791209_23266\Main.java:10: 错误: 需要class, interface或enum
}e[N*2];
^
0_0_37791209_23266\Main.java:11: 错误: 需要class, interface或enum
int a[N],cnt,b[N],c[N],T,n,m,h[N],dfn[N],top[N],size[N],son[N],fat[N],rk[N],tot,mx[N],XX,YY,ZZ,ans;
^
0_0_37791209_23266\Main.java:12: 错误: 需要class, interface或enum
inline void add(int u,int v){
^
0_0_37791209_23266\Main.java:14: 错误: 需要class, interface或enum
	e[cnt].nxt=h[u];
	^
0_0_37791209_23266\Main.java:15: 错误: 需要class, interface或enum
	h[u]=cnt++;
	^
0_0_37791209_23266\Main.java:16: 错误: 需要class, interface或enum
}
^
0_0_37791209_23266\Main.java:19: 错误: 需要class, interface或enum
	char sp=getchar();
	^
0_0_37791209_23266\Main.java:20: 错误: 需要class, interface或enum
	while(sp>57 || sp<48) sp=getchar();
	^
0_0_37791209_23266\Main.java:21: 错误: 需要class, interface或enum
	while(sp>=48 && sp<=57) ss=(ss<<3)+(ss<<1)+sp-48,sp=getchar();
	^
0_0_37791209_23266\Main.java:22: 错误: 需要class, interface或enum
	return ss;
	^
0_0_37791209_23266\Main.java:23: 错误: 需要class, interface或enum
}
^
0_0_37791209_23266\Main.java:26: 错误: 需要class, interface或enum
	son[s]=0;
	^
0_0_37791209_23266\Main.java:27: 错误: 需要class, interface或enum
	for(R i=h[s]; i!=0; i=e[i].nxt){
	^
0_0_37791209_23266\Main.java:27: 错误: 需要class, interface或enum
	for(R i=h[s]; i!=0; i=e[i].nxt){
	              ^
0_0_37791209_23266\Main.java:27: 错误: 需要class, interface或enum
	for(R i=h[s]; i!=0; i=e[i].nxt){
	                    ^
0_0_37791209_23266\Main.java:29: 错误: 需要class, interface或enum
		if(v==fat[s]) continue;
		^
0_0_37791209_23266\Main.java:30: 错误: 需要class, interface或enum
		fat[v]=s;
		^
0_0_37791209_23266\Main.java:31: 错误: 需要class, interface或enum
		dfs(v);
		^
0_0_37791209_23266\Main.java:32: 错误: 需要class, interface或enum
		size[s]+=size[v];
		^
0_0_37791209_23266\Main.java:33: 错误: 需要class, interface或enum
		if(size[v]>size[son[s]]) son[s]=v;
		^
0_0_37791209_23266\Main.java:34: 错误: 需要class, interface或enum
	}
	^
0_0_37791209_23266\Main.java:38: 错误: 需要class, interface或enum
	rk[tot]=s;
	^
0_0_37791209_23266\Main.java:39: 错误: 需要class, interface或enum
	if(son[fat[s]]==s) top[s]=top[fat[s]];
	^
0_0_37791209_23266\Main.java:40: 错误: 需要class, interface或enum
	else top[s]=s;
	^
0_0_37791209_23266\Main.java:41: 错误: 需要class, interface或enum
	if(son[s]) dfss(son[s]);
	^
0_0_37791209_23266\Main.java:42: 错误: 需要class, interface或enum
	for(R i=h[s]; i!=0; i=e[i].nxt){
	^
0_0_37791209_23266\Main.java:42: 错误: 需要class, interface或enum
	for(R i=h[s]; i!=0; i=e[i].nxt){
	              ^
0_0_37791209_23266\Main.java:42: 错误: 需要class, interface或enum
	for(R i=h[s]; i!=0; i=e[i].nxt){
	                    ^
0_0_37791209_23266\Main.java:44: 错误: 需要class, interface或enum
		if(v==fat[s] || v==son[s]) continue;
		^
0_0_37791209_23266\Main.java:45: 错误: 需要class, interface或enum
		dfss(v);
		^
0_0_37791209_23266\Main.java:46: 错误: 需要class, interface或enum
	}mx[s]=tot;
	^
0_0_37791209_23266\Main.java:47: 错误: 需要class, interface或enum
}
^
0_0_37791209_23266\Main.java:50: 错误: 需要class, interface或enum
	if(XX<=l && r<=YY){
	^
0_0_37791209_23266\Main.java:52: 错误: 需要class, interface或enum
		return ;
		^
0_0_37791209_23266\Main.java:53: 错误: 需要class, interface或enum
	}
	^
0_0_37791209_23266\Main.java:55: 错误: 需要class, interface或enum
	if(mid>=XX) updd(s<<1,l,mid);
	^
0_0_37791209_23266\Main.java:56: 错误: 需要class, interface或enum
	if(mid<YY) updd(s<<1|1,mid+1,r);
	^
0_0_37791209_23266\Main.java:57: 错误: 需要class, interface或enum
}
^
0_0_37791209_23266\Main.java:60: 错误: 需要class, interface或enum
	while(x!=0){
	^
0_0_37791209_23266\Main.java:62: 错误: 需要class, interface或enum
		updd(1,1,n);
		^
0_0_37791209_23266\Main.java:63: 错误: 需要class, interface或enum
		x=fat[top[x]];
		^
0_0_37791209_23266\Main.java:64: 错误: 需要class, interface或enum
	}
	^
0_0_37791209_23266\Main.java:68: 错误: 需要class, interface或enum
}
^
0_0_37791209_23266\Main.java:71: 错误: 需要class, interface或enum
	if(tr[s].a[1][1]==1) tr[s<<1].a[1][1]=tr[s<<1|1].a[1][1]=1;
	^
0_0_37791209_23266\Main.java:72: 错误: 需要class, interface或enum
	if(tr[s].a[2][1]==1) tr[s<<1].a[2][1]=tr[s<<1|1].a[2][1]=1;
	^
0_0_37791209_23266\Main.java:73: 错误: 需要class, interface或enum
	if(tr[s].a[0][1]==1 && tr[s].a[1][1]==1 && tr[s].a[2][1]==1){
	^
0_0_37791209_23266\Main.java:75: 错误: 需要class, interface或enum
		down(s<<1),down(s<<1|1);
		^
0_0_37791209_23266\Main.java:76: 错误: 需要class, interface或enum
		down(s);
		^
0_0_37791209_23266\Main.java:77: 错误: 需要class, interface或enum
		return ;
		^
0_0_37791209_23266\Main.java:78: 错误: 需要class, interface或enum
	}
	^
0_0_37791209_23266\Main.java:81: 错误: 需要class, interface或enum
		down(s);
		^
0_0_37791209_23266\Main.java:82: 错误: 需要class, interface或enum
		return ;
		^
0_0_37791209_23266\Main.java:83: 错误: 需要class, interface或enum
	}
	^
0_0_37791209_23266\Main.java:85: 错误: 需要class, interface或enum
	fid(s<<1,l,mid);
	^
0_0_37791209_23266\Main.java:86: 错误: 需要class, interface或enum
	fid(s<<1|1,mid+1,r);
	^
0_0_37791209_23266\Main.java:87: 错误: 需要class, interface或enum
	down(s);
	^
0_0_37791209_23266\Main.java:88: 错误: 需要class, interface或enum
}
^
0_0_37791209_23266\Main.java:91: 错误: 需要class, interface或enum
	while(T--){
	^
0_0_37791209_23266\Main.java:93: 错误: 需要class, interface或enum
		scanf("%d %d",&n,&m);
		^
0_0_37791209_23266\Main.java:94: 错误: 需要class, interface或enum
		for(R i=1; i<=n; ++i) h[i]=0;
		^
0_0_37791209_23266\Main.java:94: 错误: 需要class, interface或enum
		for(R i=1; i<=n; ++i) h[i]=0;
		           ^
0_0_37791209_23266\Main.java:94: 错误: 需要class, interface或enum
		for(R i=1; i<=n; ++i) h[i]=0;
		                 ^
0_0_37791209_23266\Main.java:95: 错误: 需要class, interface或enum
		for(R i=2; i<=n; ++i){
		^
0_0_37791209_23266\Main.java:95: 错误: 需要class, interface或enum
		for(R i=2; i<=n; ++i){
		           ^
0_0_37791209_23266\Main.java:95: 错误: 需要class, interface或enum
		for(R i=2; i<=n; ++i){
		                 ^
0_0_37791209_23266\Main.java:97: 错误: 需要class, interface或enum
			add(x,i);
			^
0_0_37791209_23266\Main.java:98: 错误: 需要class, interface或enum
		}
		^
0_0_37791209_23266\Main.java:100: 错误: 需要class, interface或enum
		dfss(1);
		^
0_0_37791209_23266\Main.java:101: 错误: 需要class, interface或enum
		while(m--){
		^
0_0_37791209_23266\Main.java:103: 错误: 需要class, interface或enum
			for(R i=1; i<=X; ++i){
			^
0_0_37791209_23266\Main.java:103: 错误: 需要class, interface或enum
			for(R i=1; i<=X; ++i){
			           ^
0_0_37791209_23266\Main.java:103: 错误: 需要class, interface或enum
			for(R i=1; i<=X; ++i){
			                 ^
0_0_37791209_23266\Main.java:105: 错误: 需要class, interface或enum
				upd(xx,0);
				^
0_0_37791209_23266\Main.java:106: 错误: 需要class, interface或enum
			}
			^
0_0_37791209_23266\Main.java:107: 错误: 需要class, interface或enum
			for(R i=1; i<=Y; ++i){
			           ^
0_0_37791209_23266\Main.java:107: 错误: 需要class, interface或enum
			for(R i=1; i<=Y; ++i){
			                 ^
0_0_37791209_23266\Main.java:109: 错误: 需要class, interface或enum
				upd(xx,1);
				^
0_0_37791209_23266\Main.java:110: 错误: 需要class, interface或enum
			}
			^
0_0_37791209_23266\Main.java:111: 错误: 需要class, interface或enum
			for(R i=1; i<=Z; ++i){
			           ^
0_0_37791209_23266\Main.java:111: 错误: 需要class, interface或enum
			for(R i=1; i<=Z; ++i){
			                 ^
0_0_37791209_23266\Main.java:113: 错误: 需要class, interface或enum
				XX=dfn[xx],YY=mx[xx],ZZ=2;
				^
0_0_37791209_23266\Main.java:114: 错误: 需要class, interface或enum
				updd(1,1,n);
				^
0_0_37791209_23266\Main.java:115: 错误: 需要class, interface或enum
			}	
			^
0_0_37791209_23266\Main.java:117: 错误: 需要class, interface或enum
			fid(1,1,n);
			^
0_0_37791209_23266\Main.java:118: 错误: 需要class, interface或enum
			printf("%lld\n",ans);
			^
0_0_37791209_23266\Main.java:119: 错误: 需要class, interface或enum
		}
		^
93 个错误


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 12:03:46, Gzip enabled