0_0_38596320_3220.cpp: In function 'int getSG(int)':
0_0_38596320_3220.cpp:9:9: 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_38596320_3220.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_38596320_3220.cpp:5:5: note: 'int map [1001][1001]'
int map[N][N], sg[N];
^~~
0_0_38596320_3220.cpp:13:26: 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_38596320_3220.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_38596320_3220.cpp:5:5: note: 'int map [1001][1001]'
int map[N][N], sg[N];
^~~
0_0_38596320_3220.cpp:14:19: 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_38596320_3220.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_38596320_3220.cpp:5:5: note: 'int map [1001][1001]'
int map[N][N], sg[N];
^~~
0_0_38596320_3220.cpp: In function 'int main()':
0_0_38596320_3220.cpp:25:26: 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_38596320_3220.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_38596320_3220.cpp:5:5: note: 'int map [1001][1001]'
int map[N][N], sg[N];
^~~
0_0_38596320_3220.cpp:26:31: error: reference to 'map' is ambiguous
for ( 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_38596320_3220.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_38596320_3220.cpp:5:5: note: 'int map [1001][1001]'
int map[N][N], sg[N];
^~~
0_0_38596320_3220.cpp:27:30: 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_38596320_3220.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_38596320_3220.cpp:5:5: note: 'int map [1001][1001]'
int map[N][N], sg[N];
^~~
|