0_0_24011761_28418.cpp:11:1: error: expected initializer before 'int'
int head1[maxn];
^
0_0_24011761_28418.cpp:14:1: error: expected initializer before 'int'
int d[maxn]
^
0_0_24011761_28418.cpp: In function 'void work()':
0_0_24011761_28418.cpp:44:13: error: 'head' was not declared in this scope
for(int j=head[i];j;j=graph[j].next){
^
0_0_24011761_28418.cpp:55:10: error: 'dis' was not declared in this scope
if(Max<dis[i]){
^
0_0_24011761_28418.cpp:59:20: error: 'dis' was not declared in this scope
dfs(k,0,1);memset(dis,0,sizeof(dis));
^
0_0_24011761_28418.cpp: In function 'void Clear()':
0_0_24011761_28418.cpp:72:9: error: 'head' was not declared in this scope
memset(head,0,sizeof(head));
^
0_0_24011761_28418.cpp:73:9: error: 'head1' was not declared in this scope
memset(head1,0,sizeof(head1));
^
0_0_24011761_28418.cpp:74:9: error: 'd' was not declared in this scope
memset(d,0,sizeof(d));
^
0_0_24011761_28418.cpp:76:9: error: 'L' was not declared in this scope
memset(L,0,sizeof(L));
^
0_0_24011761_28418.cpp:77:9: error: 'dis' was not declared in this scope
memset(dis,0,sizeof(dis));
^
0_0_24011761_28418.cpp: In function 'void tarjan(int, int)':
0_0_24011761_28418.cpp:83:2: error: 'd' was not declared in this scope
d[x]=low[x]=time1;flag[x]=1;q.push(x);
^
0_0_24011761_28418.cpp:83:7: error: 'low' was not declared in this scope
d[x]=low[x]=time1;flag[x]=1;q.push(x);
^
0_0_24011761_28418.cpp:84:12: error: 'head' was not declared in this scope
for(int i=head[x];i;i=graph[i].next){
^
0_0_24011761_28418.cpp: In function 'void dfs(int, int, int)':
0_0_24011761_28418.cpp:104:12: error: 'L' was not declared in this scope
flag[x]=1;L[x]=deep;int y;
^
0_0_24011761_28418.cpp:105:12: error: 'head1' was not declared in this scope
for(int i=head1[x];i;i=graph1[i].next){
^
0_0_24011761_28418.cpp:108:4: error: 'dis' was not declared in this scope
dis[y]=dis[x]+1;
^
0_0_24011761_28418.cpp: In function 'void Cha(int, int)':
0_0_24011761_28418.cpp:119:18: error: 'head' was not declared in this scope
graph[tot].next=head[from];
^
0_0_24011761_28418.cpp: In function 'void Cha1(int, int)':
0_0_24011761_28418.cpp:125:20: error: 'head1' was not declared in this scope
graph1[tot1].next=head1[from];
^
|