0_0_13603602_29316.cpp: In function 'void init()':
0_0_13603602_29316.cpp:21:9: error: reference to 'next' is ambiguous
next[i].clear();
^
0_0_13603602_29316.cpp:11:13: note: candidates are: std::vector<int> next [20010]
vector<int> next[maxn];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:60,
from 0_0_13603602_29316.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note: template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
next(_ForwardIterator __x, typename
^
0_0_13603602_29316.cpp:23:9: error: reference to 'hash' is ambiguous
hash[i] = -1;
^
0_0_13603602_29316.cpp:12:5: note: candidates are: int hash [20010]
int hash[maxn];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:1181:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:65,
from 0_0_13603602_29316.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash
struct hash;
^
0_0_13603602_29316.cpp: In function 'int findHash(int)':
0_0_13603602_29316.cpp:56:9: error: reference to 'hash' is ambiguous
if (hash[k] == -1) hash[k] = nn++;
^
0_0_13603602_29316.cpp:12:5: note: candidates are: int hash [20010]
int hash[maxn];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:1181:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:65,
from 0_0_13603602_29316.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash
struct hash;
^
0_0_13603602_29316.cpp:56:24: error: reference to 'hash' is ambiguous
if (hash[k] == -1) hash[k] = nn++;
^
0_0_13603602_29316.cpp:12:5: note: candidates are: int hash [20010]
int hash[maxn];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:1181:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:65,
from 0_0_13603602_29316.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash
struct hash;
^
0_0_13603602_29316.cpp:57:12: error: reference to 'hash' is ambiguous
return hash[k];
^
0_0_13603602_29316.cpp:12:5: note: candidates are: int hash [20010]
int hash[maxn];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:1181:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:65,
from 0_0_13603602_29316.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash
struct hash;
^
0_0_13603602_29316.cpp: In function 'void topo()':
0_0_13603602_29316.cpp:75:19: error: reference to 'next' is ambiguous
for(i=0;i<next[e].size();++i)
^
0_0_13603602_29316.cpp:11:13: note: candidates are: std::vector<int> next [20010]
vector<int> next[maxn];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:60,
from 0_0_13603602_29316.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note: template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
next(_ForwardIterator __x, typename
^
0_0_13603602_29316.cpp:77:25: error: reference to 'next' is ambiguous
if(--degree[next[e].at(i)]==0)
^
0_0_13603602_29316.cpp:11:13: note: candidates are: std::vector<int> next [20010]
vector<int> next[maxn];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:60,
from 0_0_13603602_29316.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note: template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
next(_ForwardIterator __x, typename
^
0_0_13603602_29316.cpp:78:24: error: reference to 'next' is ambiguous
q.push(next[e].at(i));
^
0_0_13603602_29316.cpp:11:13: note: candidates are: std::vector<int> next [20010]
vector<int> next[maxn];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:60,
from 0_0_13603602_29316.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note: template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
next(_ForwardIterator __x, typename
^
0_0_13603602_29316.cpp: In function 'int main()':
0_0_13603602_29316.cpp:102:13: error: reference to 'hash' is ambiguous
hash[i] = findHash(i);
^
0_0_13603602_29316.cpp:12:5: note: candidates are: int hash [20010]
int hash[maxn];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:1181:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:65,
from 0_0_13603602_29316.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash
struct hash;
^
0_0_13603602_29316.cpp:107:20: error: reference to 'hash' is ambiguous
int t1=hash[a[i]];
^
0_0_13603602_29316.cpp:12:5: note: candidates are: int hash [20010]
int hash[maxn];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:1181:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:65,
from 0_0_13603602_29316.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash
struct hash;
^
0_0_13603602_29316.cpp:108:20: error: reference to 'hash' is ambiguous
int t2=hash[b[i]];
^
0_0_13603602_29316.cpp:12:5: note: candidates are: int hash [20010]
int hash[maxn];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:1181:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:65,
from 0_0_13603602_29316.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash
struct hash;
^
0_0_13603602_29316.cpp:111:17: error: reference to 'next' is ambiguous
next[t1].push_back(t2);
^
0_0_13603602_29316.cpp:11:13: note: candidates are: std::vector<int> next [20010]
vector<int> next[maxn];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:60,
from 0_0_13603602_29316.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note: template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
next(_ForwardIterator __x, typename
^
0_0_13603602_29316.cpp:116:17: error: reference to 'next' is ambiguous
next[t2].push_back(t1);
^
0_0_13603602_29316.cpp:11:13: note: candidates are: std::vector<int> next [20010]
vector<int> next[maxn];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:60,
from 0_0_13603602_29316.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note: template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
next(_ForwardIterator __x, typename
^
|