0_0_13911627_10017.cpp: In function 'void dfs(int, int, int)':
0_0_13911627_10017.cpp:32:5: error: reference to 'rank' is ambiguous
rank[x] = tot++;
^
0_0_13911627_10017.cpp:25:5: note: candidates are: int rank [200010]
int rank[maxn], rg[maxn], rm[maxn], tot;
^
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/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_13911627_10017.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_13911627_10017.cpp: In function 'int main()':
0_0_13911627_10017.cpp:139:27: error: reference to 'rank' is ambiguous
val = ask(rank[tmp], rank[x], 1, n, 1) ^ ask(rank[tmp], rank[y], 1, n, 1) ^ w[tmp];
^
0_0_13911627_10017.cpp:25:5: note: candidates are: int rank [200010]
int rank[maxn], rg[maxn], rm[maxn], tot;
^
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/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_13911627_10017.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_13911627_10017.cpp:139:38: error: reference to 'rank' is ambiguous
val = ask(rank[tmp], rank[x], 1, n, 1) ^ ask(rank[tmp], rank[y], 1, n, 1) ^ w[tmp];
^
0_0_13911627_10017.cpp:25:5: note: candidates are: int rank [200010]
int rank[maxn], rg[maxn], rm[maxn], tot;
^
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/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_13911627_10017.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_13911627_10017.cpp:139:62: error: reference to 'rank' is ambiguous
val = ask(rank[tmp], rank[x], 1, n, 1) ^ ask(rank[tmp], rank[y], 1, n, 1) ^ w[tmp];
^
0_0_13911627_10017.cpp:25:5: note: candidates are: int rank [200010]
int rank[maxn], rg[maxn], rm[maxn], tot;
^
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/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_13911627_10017.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_13911627_10017.cpp:139:73: error: reference to 'rank' is ambiguous
val = ask(rank[tmp], rank[x], 1, n, 1) ^ ask(rank[tmp], rank[y], 1, n, 1) ^ w[tmp];
^
0_0_13911627_10017.cpp:25:5: note: candidates are: int rank [200010]
int rank[maxn], rg[maxn], rm[maxn], tot;
^
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/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_13911627_10017.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_13911627_10017.cpp:142:31: error: reference to 'rank' is ambiguous
if((qzero(rank[tmp], rank[x], 1, n, 1) + qzero(rank[tmp], rank[y], 1, n, 1) - (w[tmp]==0)) & 1)
^
0_0_13911627_10017.cpp:25:5: note: candidates are: int rank [200010]
int rank[maxn], rg[maxn], rm[maxn], tot;
^
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/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_13911627_10017.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_13911627_10017.cpp:142:42: error: reference to 'rank' is ambiguous
if((qzero(rank[tmp], rank[x], 1, n, 1) + qzero(rank[tmp], rank[y], 1, n, 1) - (w[tmp]==0)) & 1)
^
0_0_13911627_10017.cpp:25:5: note: candidates are: int rank [200010]
int rank[maxn], rg[maxn], rm[maxn], tot;
^
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/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_13911627_10017.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_13911627_10017.cpp:142:68: error: reference to 'rank' is ambiguous
if((qzero(rank[tmp], rank[x], 1, n, 1) + qzero(rank[tmp], rank[y], 1, n, 1) - (w[tmp]==0)) & 1)
^
0_0_13911627_10017.cpp:25:5: note: candidates are: int rank [200010]
int rank[maxn], rg[maxn], rm[maxn], tot;
^
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/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_13911627_10017.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_13911627_10017.cpp:142:79: error: reference to 'rank' is
|