0_0_25077563_13483.cpp: In function 'bool match(int, int)':
0_0_25077563_13483.cpp:42:14: error: reference to 'next' is ambiguous
if ((next[0][u][i]>=0 && vis[0][next[0][u][i]])^(next[1][v][i]>=0 && vis[1][next[1][v][i]])) return false;
^
0_0_25077563_13483.cpp:12:5: note: candidates are: int next [2][2020][26]
int next[2][maxn][26],tag[2][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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_25077563_13483.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_25077563_13483.cpp:42:41: error: reference to 'next' is ambiguous
if ((next[0][u][i]>=0 && vis[0][next[0][u][i]])^(next[1][v][i]>=0 && vis[1][next[1][v][i]])) return false;
^
0_0_25077563_13483.cpp:12:5: note: candidates are: int next [2][2020][26]
int next[2][maxn][26],tag[2][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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_25077563_13483.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_25077563_13483.cpp:42:58: error: reference to 'next' is ambiguous
if ((next[0][u][i]>=0 && vis[0][next[0][u][i]])^(next[1][v][i]>=0 && vis[1][next[1][v][i]])) return false;
^
0_0_25077563_13483.cpp:12:5: note: candidates are: int next [2][2020][26]
int next[2][maxn][26],tag[2][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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_25077563_13483.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_25077563_13483.cpp:42:85: error: reference to 'next' is ambiguous
if ((next[0][u][i]>=0 && vis[0][next[0][u][i]])^(next[1][v][i]>=0 && vis[1][next[1][v][i]])) return false;
^
0_0_25077563_13483.cpp:12:5: note: candidates are: int next [2][2020][26]
int next[2][maxn][26],tag[2][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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_25077563_13483.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_25077563_13483.cpp: In function 'bool check()':
0_0_25077563_13483.cpp:56:17: error: reference to 'next' is ambiguous
if (next[0][u][i]>0 && vis[0][next[0][u][i]]){
^
0_0_25077563_13483.cpp:12:5: note: candidates are: int next [2][2020][26]
int next[2][maxn][26],tag[2][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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_25077563_13483.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_25077563_13483.cpp:56:43: error: reference to 'next' is ambiguous
if (next[0][u][i]>0 && vis[0][next[0][u][i]]){
^
0_0_25077563_13483.cpp:12:5: note: candidates are: int next [2][2020][26]
int next[2][maxn][26],tag[2][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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_25077563_13483.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_25077563_13483.cpp:57:23: error: reference to 'next' is ambiguous
if (f[next[0][u][i]][next[1][v][i]]) continue;
^
0_0_25077563_13483.cpp:12:5: note: candidates are: int next [2][2020][26]
int next[2][maxn][26],tag[2][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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_25077563_13483.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_25077563_13483.cpp:57:38: error: reference to 'next' is ambiguous
if (f[next[0][u][i]][next[1][v][i]]) continue;
^
0_0_25077563_13483.cpp:12:5: note: candidates are: int next [2][2020][26]
int next[2][maxn][26],tag[2][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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_25077563_13483.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_25077563_13483.cpp:58:27: error: reference to 'next' is ambiguous
Q.push(mp(next[0][u][i],next[1][v][i]));
^
0_0_25077563_13483.cpp:9:27: note: in definition of macro 'mp'
#define mp(x,y) make_pair(x,y)
^
0_0_25077563_13483.cpp:12:5: note: candidates are: int next [2][2020][26]
int next[2][maxn][26],tag[2][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++/bits/char_traits.h:39,
from
|