0_0_15247862_1104.cpp: In function 'void init(int)':
0_0_15247862_1104.cpp:35:3: error: reference to 'rank' is ambiguous
rank[i] = 0;
^
0_0_15247862_1104.cpp:28:5: note: candidates are: int rank [2501]
int rank[2501];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:61,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:60,
from 0_0_15247862_1104.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_15247862_1104.cpp: In function 'void unite(int, int)':
0_0_15247862_1104.cpp:62:8: error: reference to 'rank' is ambiguous
if ( rank[x] < rank[y] )
^
0_0_15247862_1104.cpp:28:5: note: candidates are: int rank [2501]
int rank[2501];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:61,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:60,
from 0_0_15247862_1104.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_15247862_1104.cpp:62:18: error: reference to 'rank' is ambiguous
if ( rank[x] < rank[y] )
^
0_0_15247862_1104.cpp:28:5: note: candidates are: int rank [2501]
int rank[2501];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:61,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:60,
from 0_0_15247862_1104.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_15247862_1104.cpp:69:9: error: reference to 'rank' is ambiguous
if ( rank[x] == rank[y] )
^
0_0_15247862_1104.cpp:28:5: note: candidates are: int rank [2501]
int rank[2501];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:61,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:60,
from 0_0_15247862_1104.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_15247862_1104.cpp:69:20: error: reference to 'rank' is ambiguous
if ( rank[x] == rank[y] )
^
0_0_15247862_1104.cpp:28:5: note: candidates are: int rank [2501]
int rank[2501];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:61,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:60,
from 0_0_15247862_1104.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_15247862_1104.cpp:70:5: error: reference to 'rank' is ambiguous
rank[x]++;
^
0_0_15247862_1104.cpp:28:5: note: candidates are: int rank [2501]
int rank[2501];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:61,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:60,
from 0_0_15247862_1104.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
|