coprobber.cpp:2:1: error: 'vector' does not name a type
2 | vector<int> adj[501];
| ^~~~~~
coprobber.cpp: In function 'int start(int, bool (*)[500])':
coprobber.cpp:8:17: error: 'adj' was not declared in this scope
8 | if (A[i][j]) adj[i].push_back(j);
| ^~~
coprobber.cpp: In function 'bool check(int, int)':
coprobber.cpp:16:15: error: 'adj' was not declared in this scope
16 | for (int i : adj[c]) {
| ^~~
coprobber.cpp: In function 'int nextMove(int)':
coprobber.cpp:25:15: error: 'adj' was not declared in this scope
25 | for (int i : adj[cur]) {
| ^~~
coprobber.cpp: In function 'int start(int, bool (*)[500])':
coprobber.cpp:12:1: warning: control reaches end of non-void function [-Wreturn-type]
12 | }
| ^