0_0_30267326_4020.cpp:9:1: error: expected initializer before 'int'
int head[M],ver[4*M],next1[4*M];
^
0_0_30267326_4020.cpp: In function 'void add(int, int)':
0_0_30267326_4020.cpp:14:5: error: 'ver' was not declared in this scope
ver[++tot]=y;
^
0_0_30267326_4020.cpp:15:5: error: 'next1' was not declared in this scope
next1[tot]=head[x];
^
0_0_30267326_4020.cpp:15:16: error: 'head' was not declared in this scope
next1[tot]=head[x];
^
0_0_30267326_4020.cpp: In function 'void init1()':
0_0_30267326_4020.cpp:30:27: error: 'vis' was not declared in this scope
for(i=0;i<=m*n+m;i++) vis[i]=match[i]=head[i]=b[i]=0;
^
0_0_30267326_4020.cpp:30:43: error: 'head' was not declared in this scope
for(i=0;i<=m*n+m;i++) vis[i]=match[i]=head[i]=b[i]=0;
^
0_0_30267326_4020.cpp: In function 'bool dfs(int)':
0_0_30267326_4020.cpp:35:15: error: 'head' was not declared in this scope
for(int i=head[x];i;i=next1[i]){
^
0_0_30267326_4020.cpp:35:27: error: 'next1' was not declared in this scope
for(int i=head[x];i;i=next1[i]){
^
0_0_30267326_4020.cpp:36:15: error: 'ver' was not declared in this scope
int y=ver[i];
^
0_0_30267326_4020.cpp:37:13: error: 'vis' was not declared in this scope
if(!vis[y]){
^
0_0_30267326_4020.cpp: In function 'int main()':
0_0_30267326_4020.cpp:69:20: error: 'vis' was not declared in this scope
memset(vis,0,sizeof(vis));
^
|