0_0_38601362_13409.cpp: In function 'int getSG(int)':
0_0_38601362_13409.cpp:11:6: error: reference to 'map' is ambiguous
if (map[n][0] == 0) return sg[n] = 0;
^~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/map:61,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:81,
from 0_0_38601362_13409.cpp:2:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
class map
^~~
0_0_38601362_13409.cpp:6:5: note: 'int map [1001][1001]'
int map[N][N], sg[N];
^~~
0_0_38601362_13409.cpp:15:23: error: reference to 'map' is ambiguous
for (int i = 1; i <= map[n][0]; i++)
^~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/map:61,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:81,
from 0_0_38601362_13409.cpp:2:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
class map
^~~
0_0_38601362_13409.cpp:6:5: note: 'int map [1001][1001]'
int map[N][N], sg[N];
^~~
0_0_38601362_13409.cpp:16:13: error: reference to 'map' is ambiguous
vis[getSG(map[n][i])] = 1;
^~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/map:61,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:81,
from 0_0_38601362_13409.cpp:2:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
class map
^~~
0_0_38601362_13409.cpp:6:5: note: 'int map [1001][1001]'
int map[N][N], sg[N];
^~~
0_0_38601362_13409.cpp: In function 'int main()':
0_0_38601362_13409.cpp:27:17: error: reference to 'map' is ambiguous
scanf("%d", &map[i][0]);
^~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/map:61,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:81,
from 0_0_38601362_13409.cpp:2:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
class map
^~~
0_0_38601362_13409.cpp:6:5: note: 'int map [1001][1001]'
int map[N][N], sg[N];
^~~
0_0_38601362_13409.cpp:28:25: error: reference to 'map' is ambiguous
for (int j = 1; j <= map[i][0]; j++)
^~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/map:61,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:81,
from 0_0_38601362_13409.cpp:2:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
class map
^~~
0_0_38601362_13409.cpp:6:5: note: 'int map [1001][1001]'
int map[N][N], sg[N];
^~~
0_0_38601362_13409.cpp:29:18: error: reference to 'map' is ambiguous
scanf("%d", &map[i][j]);
^~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/map:61,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:81,
from 0_0_38601362_13409.cpp:2:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
class map
^~~
0_0_38601362_13409.cpp:6:5: note: 'int map [1001][1001]'
int map[N][N], sg[N];
^~~
|