0_0_34358461_1614.cpp: In function 'void init(int)':
0_0_34358461_1614.cpp:39:9: error: reference to 'rank' is ambiguous
rank[ i ] = 1;
^
0_0_34358461_1614.cpp:29:16: note: candidates are: int rank [1015]
int fa[ maxn ],rank[ maxn ];
^
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++/utility:70,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_34358461_1614.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_34358461_1614.cpp: In function 'double Kruskal(int, int)':
0_0_34358461_1614.cpp:117:17: error: reference to 'rank' is ambiguous
if( rank[ fx ]<rank[ fy ] ){
^
0_0_34358461_1614.cpp:29:16: note: candidates are: int rank [1015]
int fa[ maxn ],rank[ maxn ];
^
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++/utility:70,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_34358461_1614.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_34358461_1614.cpp:117:28: error: reference to 'rank' is ambiguous
if( rank[ fx ]<rank[ fy ] ){
^
0_0_34358461_1614.cpp:29:16: note: candidates are: int rank [1015]
int fa[ maxn ],rank[ maxn ];
^
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++/utility:70,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_34358461_1614.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_34358461_1614.cpp:118:17: error: reference to 'rank' is ambiguous
rank[ fy ] += rank[ fx ];
^
0_0_34358461_1614.cpp:29:16: note: candidates are: int rank [1015]
int fa[ maxn ],rank[ maxn ];
^
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++/utility:70,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_34358461_1614.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_34358461_1614.cpp:118:31: error: reference to 'rank' is ambiguous
rank[ fy ] += rank[ fx ];
^
0_0_34358461_1614.cpp:29:16: note: candidates are: int rank [1015]
int fa[ maxn ],rank[ maxn ];
^
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++/utility:70,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_34358461_1614.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_34358461_1614.cpp:122:17: error: reference to 'rank' is ambiguous
rank[ fx ] += rank[ fy ];
^
0_0_34358461_1614.cpp:29:16: note: candidates are: int rank [1015]
int fa[ maxn ],rank[ maxn ];
^
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++/utility:70,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_34358461_1614.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_34358461_1614.cpp:122:31: error: reference to 'rank' is ambiguous
rank[ fx ] += rank[ fy ];
^
0_0_34358461_1614.cpp:29:16: note: candidates are: int rank [1015]
int fa[ maxn ],rank[ maxn ];
^
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++/utility:70,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_34358461_1614.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
|