0_0_26820039_12428.cpp: In function 'void get_next()':
0_0_26820039_12428.cpp:30:4: error: reference to 'next' is ambiguous
next[trie[0][i]] = 0;
^
0_0_26820039_12428.cpp:8:27: note: candidates are: int next [1000010]
int n, T, trie[maxn][27], next[maxn], tot, vis[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++/deque:60,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_26820039_12428.cpp:1:
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_26820039_12428.cpp:41:5: error: reference to 'next' is ambiguous
next[trie[cnt][i]] = trie[next[cnt]][i];
^
0_0_26820039_12428.cpp:8:27: note: candidates are: int next [1000010]
int n, T, trie[maxn][27], next[maxn], tot, vis[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++/deque:60,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_26820039_12428.cpp:1:
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_26820039_12428.cpp:41:31: error: reference to 'next' is ambiguous
next[trie[cnt][i]] = trie[next[cnt]][i];
^
0_0_26820039_12428.cpp:8:27: note: candidates are: int next [1000010]
int n, T, trie[maxn][27], next[maxn], tot, vis[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++/deque:60,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_26820039_12428.cpp:1:
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_26820039_12428.cpp:45:24: error: reference to 'next' is ambiguous
trie[cnt][i] = trie[next[cnt]][i];
^
0_0_26820039_12428.cpp:8:27: note: candidates are: int next [1000010]
int n, T, trie[maxn][27], next[maxn], tot, vis[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++/deque:60,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_26820039_12428.cpp:1:
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_26820039_12428.cpp: In function 'int find(char*)':
0_0_26820039_12428.cpp:57:36: error: reference to 'next' is ambiguous
for(int k = now; k&&~vis[k]; k = next[k])
^
0_0_26820039_12428.cpp:8:27: note: candidates are: int next [1000010]
int n, T, trie[maxn][27], next[maxn], tot, vis[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++/deque:60,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_26820039_12428.cpp:1:
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_26820039_12428.cpp: In function 'void init()':
0_0_26820039_12428.cpp:69:9: error: reference to 'next' is ambiguous
memset(next, 0, sizeof(next));
^
0_0_26820039_12428.cpp:8:27: note: candidates are: int next [1000010]
int n, T, trie[maxn][27], next[maxn], tot, vis[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++/deque:60,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_26820039_12428.cpp:1:
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_26820039_12428.cpp:69:25: error: reference to 'next' is ambiguous
memset(next, 0, sizeof(next));
^
0_0_26820039_12428.cpp:8:27: note: candidates are: int next [1000010]
int n, T, trie[maxn][27], next[maxn], tot, vis[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++/deque:60,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_26820039_12428.cpp:1:
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
^
|