0_0_37990960_4916.cpp: In function 'void get_next(int, int)':
0_0_37990960_4916.cpp:46:17: error: reference to 'next' is ambiguous
next[u].push_back(v);
^
0_0_37990960_4916.cpp:7:18: note: candidates are: std::vector<int> next [1005]
vector<int>G[Ms],next[Ms];
^
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_37990960_4916.cpp:2:
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_37990960_4916.cpp: In function 'int check(int, int, int, int)':
0_0_37990960_4916.cpp:66:23: error: reference to 'next' is ambiguous
for(int i=0;i<next[st_a].size();i++)
^
0_0_37990960_4916.cpp:7:18: note: candidates are: std::vector<int> next [1005]
vector<int>G[Ms],next[Ms];
^
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_37990960_4916.cpp:2:
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_37990960_4916.cpp:68:15: error: reference to 'next' is ambiguous
v=next[st_a][i];
^
0_0_37990960_4916.cpp:7:18: note: candidates are: std::vector<int> next [1005]
vector<int>G[Ms],next[Ms];
^
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_37990960_4916.cpp:2:
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_37990960_4916.cpp:79:23: error: reference to 'next' is ambiguous
for(int i=0;i<next[st_b].size();i++)
^
0_0_37990960_4916.cpp:7:18: note: candidates are: std::vector<int> next [1005]
vector<int>G[Ms],next[Ms];
^
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_37990960_4916.cpp:2:
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_37990960_4916.cpp:81:15: error: reference to 'next' is ambiguous
v=next[st_b][i];
^
0_0_37990960_4916.cpp:7:18: note: candidates are: std::vector<int> next [1005]
vector<int>G[Ms],next[Ms];
^
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_37990960_4916.cpp:2:
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_37990960_4916.cpp: In function 'int main()':
0_0_37990960_4916.cpp:124:17: error: reference to 'next' is ambiguous
next[i].clear();
^
0_0_37990960_4916.cpp:7:18: note: candidates are: std::vector<int> next [1005]
vector<int>G[Ms],next[Ms];
^
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_37990960_4916.cpp:2:
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
^
|