0_0_21678417_26334.cpp: In function 'int newnode()':
0_0_21678417_26334.cpp:12:9: error: reference to 'next' is ambiguous
next[L][i] = -1;
^
0_0_21678417_26334.cpp:7:5: note: candidates are: int next [100010][30]
int next[MAXN][30], time[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++/algorithm:61,
from 0_0_21678417_26334.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_21678417_26334.cpp: In function 'void Insert(char*, int)':
0_0_21678417_26334.cpp:27:12: error: reference to 'next' is ambiguous
if(next[now][s[i]-'a'] == -1)
^
0_0_21678417_26334.cpp:7:5: note: candidates are: int next [100010][30]
int next[MAXN][30], time[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++/algorithm:61,
from 0_0_21678417_26334.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_21678417_26334.cpp:28:13: error: reference to 'next' is ambiguous
next[now][s[i]-'a'] = newnode();
^
0_0_21678417_26334.cpp:7:5: note: candidates are: int next [100010][30]
int next[MAXN][30], time[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++/algorithm:61,
from 0_0_21678417_26334.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_21678417_26334.cpp:29:15: error: reference to 'next' is ambiguous
now = next[now][s[i]-'a'];
^
0_0_21678417_26334.cpp:7:5: note: candidates are: int next [100010][30]
int next[MAXN][30], time[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++/algorithm:61,
from 0_0_21678417_26334.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_21678417_26334.cpp: In function 'void DFS(int, int, int)':
0_0_21678417_26334.cpp:53:16: error: reference to 'next' is ambiguous
if(next[ROOT][v] == -1) continue;
^
0_0_21678417_26334.cpp:7:5: note: candidates are: int next [100010][30]
int next[MAXN][30], time[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++/algorithm:61,
from 0_0_21678417_26334.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_21678417_26334.cpp:55:30: error: reference to 'next' is ambiguous
DFS(goal, now+1, next[ROOT][v]);
^
0_0_21678417_26334.cpp:7:5: note: candidates are: int next [100010][30]
int next[MAXN][30], time[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++/algorithm:61,
from 0_0_21678417_26334.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
^
|