coprobber.cpp:2:1: error: 'map' does not name a type
2 | map<array<int, 2>, int> mp;
| ^~~
coprobber.cpp:4:1: error: 'vector' does not name a type
4 | vector<vector<int>> g(500);
| ^~~~~~
coprobber.cpp: In function 'int calc(int, int, int)':
coprobber.cpp:16:21: error: 'g' was not declared in this scope
16 | for(auto i: g[x]){
| ^
coprobber.cpp:35:21: error: 'g' was not declared in this scope
35 | for(auto i: g[y]){
| ^
coprobber.cpp:44:25: error: 'g' was not declared in this scope
44 | for(auto i: g[x]){
| ^
coprobber.cpp:48:30: error: 'g' was not declared in this scope
48 | for(auto l: g[y])
| ^
coprobber.cpp: At global scope:
coprobber.cpp:57:25: error: 'MAX_N' was not declared in this scope
57 | int start(int n, bool a[MAX_N][MAX_N]) {
| ^~~~~
coprobber.cpp:57:32: error: 'MAX_N' was not declared in this scope
57 | int start(int n, bool a[MAX_N][MAX_N]) {
| ^~~~~
coprobber.cpp: In function 'int start(...)':
coprobber.cpp:60:20: error: 'n' was not declared in this scope
60 | for(int i=0; i<n; i++){
| ^
coprobber.cpp:64:16: error: 'a' was not declared in this scope
64 | if(a[i][l]){
| ^
coprobber.cpp:65:17: error: 'g' was not declared in this scope
65 | g[i].push_back(l);
| ^
coprobber.cpp:70:20: error: 'n' was not declared in this scope
70 | for(int i=0; i<n; i++){
| ^