0_0_24389159_20561.cpp: In function 'void dfs(int, int, int)':
0_0_24389159_20561.cpp:19:8: error: reference to 'next' is ambiguous
next[ostate].push_back(nstate);
^
0_0_24389159_20561.cpp:13:13: note: candidates are: std::vector<int> next [2048]
vector<int> next[1<<11];
^
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_24389159_20561.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_24389159_20561.cpp: In function 'void solve()':
0_0_24389159_20561.cpp:51:34: error: reference to 'next' is ambiguous
for(int s = 0;s<(int)next[j].size();s++)//循环当前状态的下一状态
^
0_0_24389159_20561.cpp:13:13: note: candidates are: std::vector<int> next [2048]
vector<int> next[1<<11];
^
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_24389159_20561.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_24389159_20561.cpp:53:25: error: reference to 'next' is ambiguous
DP[i+1][next[j][s]] += DP[i][j];
^
0_0_24389159_20561.cpp:13:13: note: candidates are: std::vector<int> next [2048]
vector<int> next[1<<11];
^
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_24389159_20561.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_24389159_20561.cpp: In function 'int main()':
0_0_24389159_20561.cpp:164:13: error: reference to 'next' is ambiguous
next[i].clear();
^
0_0_24389159_20561.cpp:13:13: note: candidates are: std::vector<int> next [2048]
vector<int> next[1<<11];
^
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_24389159_20561.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
^
|