0_0_20472217_18941.cpp:7:9: error: 'M' was not declared in this scope
int map[M][M], vis[M], link[M];
^
0_0_20472217_18941.cpp:7:12: error: 'M' was not declared in this scope
int map[M][M], vis[M], link[M];
^
0_0_20472217_18941.cpp:7:20: error: 'M' was not declared in this scope
int map[M][M], vis[M], link[M];
^
0_0_20472217_18941.cpp:7:29: error: 'M' was not declared in this scope
int map[M][M], vis[M], link[M];
^
0_0_20472217_18941.cpp: In function 'int find(int)':
0_0_20472217_18941.cpp:14:6: error: 'map' was not declared in this scope
if(map[x][i] && !vis[i])
^
0_0_20472217_18941.cpp:14:20: error: 'vis' was not declared in this scope
if(map[x][i] && !vis[i])
^
0_0_20472217_18941.cpp:17:7: error: 'link' was not declared in this scope
if(link[i] == 0 || find(link[i]))
^
0_0_20472217_18941.cpp: In function 'int main()':
0_0_20472217_18941.cpp:31:10: error: 'map' was not declared in this scope
memset(map, 0, sizeof(map));
^
0_0_20472217_18941.cpp:32:10: error: 'link' was not declared in this scope
memset(link, 0, sizeof(link));
^
0_0_20472217_18941.cpp:47:11: error: 'vis' was not declared in this scope
memset(vis, 0, sizeof(vis));
^
|