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_33691385_24472\Main.java:1: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_33691385_24472\Main.java:1: 错误: 需要class, interface或enum
#include <cstdio>
         ^
0_0_33691385_24472\Main.java:2: 错误: 非法字符: '#'
#include <cstring>
^
0_0_33691385_24472\Main.java:3: 错误: 非法字符: '#'
#include <vector>
^
0_0_33691385_24472\Main.java:4: 错误: 非法字符: '#'
#include <cmath>
^
0_0_33691385_24472\Main.java:5: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_33691385_24472\Main.java:7: 错误: 非法字符: '#'
#define maxn 300010
^
0_0_33691385_24472\Main.java:7: 错误: 需要class, interface或enum
#define maxn 300010
        ^
0_0_33691385_24472\Main.java:8: 错误: 非法字符: '#'
#define mod 998244353
^
0_0_33691385_24472\Main.java:9: 错误: 非法字符: '#'
#define bin(x) (1<<(x))
^
0_0_33691385_24472\Main.java:12: 错误: 需要class, interface或enum
struct edge{int y,next;}e[maxn];
^
0_0_33691385_24472\Main.java:12: 错误: 需要class, interface或enum
struct edge{int y,next;}e[maxn];
                       ^
0_0_33691385_24472\Main.java:13: 错误: 需要class, interface或enum
int first[maxn],len=0;
^
0_0_33691385_24472\Main.java:14: 错误: 需要class, interface或enum
void buildroad(int x,int y){e[++len]=(edge){y,first[x]};first[x]=len;}
^
0_0_33691385_24472\Main.java:14: 错误: 需要class, interface或enum
void buildroad(int x,int y){e[++len]=(edge){y,first[x]};first[x]=len;}
                                                        ^
0_0_33691385_24472\Main.java:14: 错误: 需要class, interface或enum
void buildroad(int x,int y){e[++len]=(edge){y,first[x]};first[x]=len;}
                                                                     ^
0_0_33691385_24472\Main.java:16: 错误: 需要class, interface或enum
void dfs(int x){
^
0_0_33691385_24472\Main.java:17: 错误: 需要class, interface或enum
	for(int i=first[x];i;i=e[i].next)
	                   ^
0_0_33691385_24472\Main.java:17: 错误: 需要class, interface或enum
	for(int i=first[x];i;i=e[i].next)
	                     ^
0_0_33691385_24472\Main.java:19: 错误: 需要class, interface或enum
}
^
0_0_33691385_24472\Main.java:21: 错误: 需要class, interface或enum
int go(int x,int y)
^
0_0_33691385_24472\Main.java:23: 错误: 需要class, interface或enum
	if(deep[x]>deep[y])swap(x,y); int re=1;
	                              ^
0_0_33691385_24472\Main.java:24: 错误: 需要class, interface或enum
	while(deep[y]>deep[x]){
	^
0_0_33691385_24472\Main.java:26: 错误: 需要class, interface或enum
		vis[y]=true; y=fa[y],re++;
		^
0_0_33691385_24472\Main.java:26: 错误: 需要class, interface或enum
		vis[y]=true; y=fa[y],re++;
		             ^
0_0_33691385_24472\Main.java:27: 错误: 需要class, interface或enum
	}
	^
0_0_33691385_24472\Main.java:30: 错误: 需要class, interface或enum
		vis[x]=vis[y]=true;
		^
0_0_33691385_24472\Main.java:31: 错误: 需要class, interface或enum
		x=fa[x];y=fa[y];re+=2;
		^
0_0_33691385_24472\Main.java:31: 错误: 需要class, interface或enum
		x=fa[x];y=fa[y];re+=2;
		        ^
0_0_33691385_24472\Main.java:31: 错误: 需要class, interface或enum
		x=fa[x];y=fa[y];re+=2;
		                ^
0_0_33691385_24472\Main.java:32: 错误: 需要class, interface或enum
	}
	^
0_0_33691385_24472\Main.java:34: 错误: 需要class, interface或enum
}
^
0_0_33691385_24472\Main.java:36: 错误: 需要class, interface或enum
	int Fa[maxn];void init(int N){for(int i=1;i<=N;i++)Fa[i]=i;}
	             ^
0_0_33691385_24472\Main.java:36: 错误: 需要class, interface或enum
	int Fa[maxn];void init(int N){for(int i=1;i<=N;i++)Fa[i]=i;}
	                                          ^
0_0_33691385_24472\Main.java:36: 错误: 需要class, interface或enum
	int Fa[maxn];void init(int N){for(int i=1;i<=N;i++)Fa[i]=i;}
	                                               ^
0_0_33691385_24472\Main.java:36: 错误: 需要class, interface或enum
	int Fa[maxn];void init(int N){for(int i=1;i<=N;i++)Fa[i]=i;}
	                                                           ^
0_0_33691385_24472\Main.java:37: 错误: 需要class, interface或enum
	int findfa(int x){return x==Fa[x]?x:Fa[x]=findfa(Fa[x]);}
	                                                        ^
0_0_33691385_24472\Main.java:40: 错误: 需要class, interface或enum
		if(x==y)return false;
		^
0_0_33691385_24472\Main.java:41: 错误: 需要class, interface或enum
		Fa[y]=x;return true;
		^
0_0_33691385_24472\Main.java:41: 错误: 需要class, interface或enum
		Fa[y]=x;return true;
		        ^
0_0_33691385_24472\Main.java:42: 错误: 需要class, interface或enum
	}
	^
0_0_33691385_24472\Main.java:44: 错误: 需要class, interface或enum
struct par{int x,y;};
^
0_0_33691385_24472\Main.java:44: 错误: 需要class, interface或enum
struct par{int x,y;};
                   ^
0_0_33691385_24472\Main.java:45: 错误: 需要class, interface或enum
vector<par>h;
^
0_0_33691385_24472\Main.java:46: 错误: 需要class, interface或enum
int add(int x){return x>=mod?x-mod:x;}
^
0_0_33691385_24472\Main.java:46: 错误: 需要class, interface或enum
int add(int x){return x>=mod?x-mod:x;}
                                     ^
0_0_33691385_24472\Main.java:47: 错误: 需要class, interface或enum
int dec(int x){return x<0?x+mod:x;}
                                  ^
0_0_33691385_24472\Main.java:49: 错误: 需要class, interface或enum
int ksm(int x,int y){int re=1;for(;(y&1?re=1ll*re*x%mod:0),y;y>>=1,x=1ll*x*x%mod);return re;}
^
0_0_33691385_24472\Main.java:49: 错误: 需要class, interface或enum
int ksm(int x,int y){int re=1;for(;(y&1?re=1ll*re*x%mod:0),y;y>>=1,x=1ll*x*x%mod);return re;}
                              ^
0_0_33691385_24472\Main.java:49: 错误: 需要class, interface或enum
int ksm(int x,int y){int re=1;for(;(y&1?re=1ll*re*x%mod:0),y;y>>=1,x=1ll*x*x%mod);return re;}
                                   ^
0_0_33691385_24472\Main.java:49: 错误: 需要class, interface或enum
int ksm(int x,int y){int re=1;for(;(y&1?re=1ll*re*x%mod:0),y;y>>=1,x=1ll*x*x%mod);return re;}
                                                             ^
0_0_33691385_24472\Main.java:49: 错误: 需要class, interface或enum
int ksm(int x,int y){int re=1;for(;(y&1?re=1ll*re*x%mod:0),y;y>>=1,x=1ll*x*x%mod);return re;}
                                                                                  ^
0_0_33691385_24472\Main.java:49: 错误: 需要class, interface或enum
int ksm(int x,int y){int re=1;for(;(y&1?re=1ll*re*x%mod:0),y;y>>=1,x=1ll*x*x%mod);return re;}
                                                                                            ^
0_0_33691385_24472\Main.java:51: 错误: 需要class, interface或enum
	int w[maxn];NTT(){int N=bin(18);
	            ^
0_0_33691385_24472\Main.java:52: 错误: 需要class, interface或enum
		inv[1]=1;for(int i=2;i<=N;i++)inv[i]=1ll*(mod-mod/i)*inv[mod%i]%mod;
		^
0_0_33691385_24472\Main.java:52: 错误: 需要class, interface或enum
		inv[1]=1;for(int i=2;i<=N;i++)inv[i]=1ll*(mod-mod/i)*inv[mod%i]%mod;
		         ^
0_0_33691385_24472\Main.java:52: 错误: 需要class, interface或enum
		inv[1]=1;for(int i=2;i<=N;i++)inv[i]=1ll*(mod-mod/i)*inv[mod%i]%mod;
		                     ^
0_0_33691385_24472\Main.java:52: 错误: 需要class, interface或enum
		inv[1]=1;for(int i=2;i<=N;i++)inv[i]=1ll*(mod-mod/i)*inv[mod%i]%mod;
		                          ^
0_0_33691385_24472\Main.java:53: 错误: 需要class, interface或enum
		for(int i=1,wn;i<N;i<<=1){
		^
0_0_33691385_24472\Main.java:53: 错误: 需要class, interface或enum
		for(int i=1,wn;i<N;i<<=1){
		               ^
0_0_33691385_24472\Main.java:53: 错误: 需要class, interface或enum
		for(int i=1,wn;i<N;i<<=1){
		                   ^
0_0_33691385_24472\Main.java:54: 错误: 需要class, interface或enum
			w[i]=1;wn=ksm(3,(mod-1)/(i<<1));
			       ^
0_0_33691385_24472\Main.java:55: 错误: 需要class, interface或enum
			for(int j=1;j<i;j++)w[i+j]=1ll*w[i+j-1]*wn%mod;
			^
0_0_33691385_24472\Main.java:55: 错误: 需要class, interface或enum
			for(int j=1;j<i;j++)w[i+j]=1ll*w[i+j-1]*wn%mod;
			            ^
0_0_33691385_24472\Main.java:55: 错误: 需要class, interface或enum
			for(int j=1;j<i;j++)w[i+j]=1ll*w[i+j-1]*wn%mod;
			                ^
0_0_33691385_24472\Main.java:56: 错误: 需要class, interface或enum
		}
		^
0_0_33691385_24472\Main.java:59: 错误: 需要class, interface或enum
	void work(int lg){r[0]=0;for(int i=1;i<bin(lg);i++)r[i]=(r[i>>1]>>1)|((i&1)<<(lg-1));}
	^
0_0_33691385_24472\Main.java:59: 错误: 需要class, interface或enum
	void work(int lg){r[0]=0;for(int i=1;i<bin(lg);i++)r[i]=(r[i>>1]>>1)|((i&1)<<(lg-1));}
	                         ^
0_0_33691385_24472\Main.java:59: 错误: 需要class, interface或enum
	void work(int lg){r[0]=0;for(int i=1;i<bin(lg);i++)r[i]=(r[i>>1]>>1)|((i&1)<<(lg-1));}
	                                     ^
0_0_33691385_24472\Main.java:59: 错误: 需要class, interface或enum
	void work(int lg){r[0]=0;for(int i=1;i<bin(lg);i++)r[i]=(r[i>>1]>>1)|((i&1)<<(lg-1));}
	                                               ^
0_0_33691385_24472\Main.java:59: 错误: 需要class, interface或enum
	void work(int lg){r[0]=0;for(int i=1;i<bin(lg);i++)r[i]=(r[i>>1]>>1)|((i&1)<<(lg-1));}
	                                                                                     ^
0_0_33691385_24472\Main.java:62: 错误: 需要class, interface或enum
		limit=bin(lg);if(type)reverse(f+1,f+limit);
		              ^
0_0_33691385_24472\Main.java:63: 错误: 需要class, interface或enum
		for(int i=1;i<limit;i++){
		^
0_0_33691385_24472\Main.java:63: 错误: 需要class, interface或enum
		for(int i=1;i<limit;i++){
		            ^
0_0_33691385_24472\Main.java:63: 错误: 需要class, interface或enum
		for(int i=1;i<limit;i++)


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-30 04:57:32, Gzip enabled