0_0_28225411_5249.cpp: In function 'void miniTree()':
0_0_28225411_5249.cpp:60:13: error: reference to 'set' is ambiguous
set(u, v, inf);
^
0_0_28225411_5249.cpp:25:6: note: candidates are: void set(int, int, int)
void set(int u, int v, int w) {
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:61:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:86,
from 0_0_28225411_5249.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_set.h:90:11: note: template<class _Key, class _Compare, class _Alloc> class std::set
class set
^
|