0_0_18085555_4196.cpp: In function 'int dfs(int)':
0_0_18085555_4196.cpp:4:11: error: 'head' was not declared in this scope
for(tp = head[x]; y = spot[tp],tp; tp = nex[tp])
^
0_0_18085555_4196.cpp:4:24: error: 'spot' was not declared in this scope
for(tp = head[x]; y = spot[tp],tp; tp = nex[tp])
^
0_0_18085555_4196.cpp:4:42: error: 'nex' was not declared in this scope
for(tp = head[x]; y = spot[tp],tp; tp = nex[tp])
^
0_0_18085555_4196.cpp:5:7: error: 'v' was not declared in this scope
if(!v[y]) {
^
0_0_18085555_4196.cpp:7:7: error: 'my' was not declared in this scope
if(my[y]==-1 || dfs(my[y]))
^
0_0_18085555_4196.cpp:9:5: error: 'mx' was not declared in this scope
mx[x] = y; my[y] = x;
^
0_0_18085555_4196.cpp: In function 'int match()':
0_0_18085555_4196.cpp:19:9: error: 'mx' was not declared in this scope
memset(mx, -1, sizeof(mx));
^
0_0_18085555_4196.cpp:19:27: error: 'memset' was not declared in this scope
memset(mx, -1, sizeof(mx));
^
0_0_18085555_4196.cpp:20:9: error: 'my' was not declared in this scope
memset(my, -1, sizeof(my));
^
0_0_18085555_4196.cpp:21:16: error: 'm' was not declared in this scope
for(i = 1; i<=m; i++)
^
0_0_18085555_4196.cpp:24:10: error: 'v' was not declared in this scope
memset(v,0,sizeof(v));
^
|