0_0_21844383_21660.cpp: In function 'int main()':
0_0_21844383_21660.cpp:34:13: error: reference to 'rank' is ambiguous
rank[i]=1;
^
0_0_21844383_21660.cpp:15:12: note: candidates are: long long int rank [500005]
long long rank[500005],f[500005],ans[500005],len[500005];
^
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++/vector:60,
from 0_0_21844383_21660.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_21844383_21660.cpp:46:28: error: reference to 'rank' is ambiguous
ans[top++]=rank[x]*rank[y]*2;
^
0_0_21844383_21660.cpp:15:12: note: candidates are: long long int rank [500005]
long long rank[500005],f[500005],ans[500005],len[500005];
^
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++/vector:60,
from 0_0_21844383_21660.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_21844383_21660.cpp:46:36: error: reference to 'rank' is ambiguous
ans[top++]=rank[x]*rank[y]*2;
^
0_0_21844383_21660.cpp:15:12: note: candidates are: long long int rank [500005]
long long rank[500005],f[500005],ans[500005],len[500005];
^
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++/vector:60,
from 0_0_21844383_21660.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_21844383_21660.cpp:47:17: error: reference to 'rank' is ambiguous
rank[y]+=rank[x];
^
0_0_21844383_21660.cpp:15:12: note: candidates are: long long int rank [500005]
long long rank[500005],f[500005],ans[500005],len[500005];
^
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++/vector:60,
from 0_0_21844383_21660.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_21844383_21660.cpp:47:26: error: reference to 'rank' is ambiguous
rank[y]+=rank[x];
^
0_0_21844383_21660.cpp:15:12: note: candidates are: long long int rank [500005]
long long rank[500005],f[500005],ans[500005],len[500005];
^
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++/vector:60,
from 0_0_21844383_21660.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
|