0_0_19109877_4641.cpp: In function 'int main()':
0_0_19109877_4641.cpp:34:6: error: reference to 'next' is ambiguous
next[i][j][k] = ((j & (((mask[M + 1]) - 1) ^ mask[i] ^ mask[M])) | (((bool)(k & 2))<<M)) | (((bool)(k & 1))<<i);
^
0_0_19109877_4641.cpp:12:45: note: candidates are: short int next [7][128][4]
short mask[MMAX], degree[MMAX][1<<MMAX][4], next[MMAX][1<<MMAX][4];
^
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_19109877_4641.cpp:4:
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_19109877_4641.cpp:67:21: error: reference to 'next' is ambiguous
(f[pos ^ 1][next[j][S1][lu1]][next[j][S2][lu2]] += f[pos][S1][S2]) %= MOD;
^
0_0_19109877_4641.cpp:12:45: note: candidates are: short int next [7][128][4]
short mask[MMAX], degree[MMAX][1<<MMAX][4], next[MMAX][1<<MMAX][4];
^
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_19109877_4641.cpp:4:
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_19109877_4641.cpp:67:39: error: reference to 'next' is ambiguous
(f[pos ^ 1][next[j][S1][lu1]][next[j][S2][lu2]] += f[pos][S1][S2]) %= MOD;
^
0_0_19109877_4641.cpp:12:45: note: candidates are: short int next [7][128][4]
short mask[MMAX], degree[MMAX][1<<MMAX][4], next[MMAX][1<<MMAX][4];
^
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_19109877_4641.cpp:4:
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
^
|