0_0_15565302_12433.cpp: In function 'int bpm(int)':
0_0_15565302_12433.cpp:38:7: error: reference to 'prev' is ambiguous
if(!prev[V] || (prev[V] && bpm(prev[V]))) {
^
0_0_15565302_12433.cpp:30:5: note: candidates are: int prev [100]
int prev[100];
^
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_15565302_12433.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:193:5: note: template<class _BidirectionalIterator> _BidirectionalIterator std::prev(_BidirectionalIterator, typename std::iterator_traits<_Iter>::difference_type)
prev(_BidirectionalIterator __x, typename
^
0_0_15565302_12433.cpp:38:19: error: reference to 'prev' is ambiguous
if(!prev[V] || (prev[V] && bpm(prev[V]))) {
^
0_0_15565302_12433.cpp:30:5: note: candidates are: int prev [100]
int prev[100];
^
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_15565302_12433.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:193:5: note: template<class _BidirectionalIterator> _BidirectionalIterator std::prev(_BidirectionalIterator, typename std::iterator_traits<_Iter>::difference_type)
prev(_BidirectionalIterator __x, typename
^
0_0_15565302_12433.cpp:38:34: error: reference to 'prev' is ambiguous
if(!prev[V] || (prev[V] && bpm(prev[V]))) {
^
0_0_15565302_12433.cpp:30:5: note: candidates are: int prev [100]
int prev[100];
^
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_15565302_12433.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:193:5: note: template<class _BidirectionalIterator> _BidirectionalIterator std::prev(_BidirectionalIterator, typename std::iterator_traits<_Iter>::difference_type)
prev(_BidirectionalIterator __x, typename
^
0_0_15565302_12433.cpp:39:4: error: reference to 'prev' is ambiguous
prev[V] = u;
^
0_0_15565302_12433.cpp:30:5: note: candidates are: int prev [100]
int prev[100];
^
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_15565302_12433.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:193:5: note: template<class _BidirectionalIterator> _BidirectionalIterator std::prev(_BidirectionalIterator, typename std::iterator_traits<_Iter>::difference_type)
prev(_BidirectionalIterator __x, typename
^
0_0_15565302_12433.cpp: In function 'int solve(int, int)':
0_0_15565302_12433.cpp:62:12: error: reference to 'prev' is ambiguous
memset(prev,0,sizeof(prev));
^
0_0_15565302_12433.cpp:30:5: note: candidates are: int prev [100]
int prev[100];
^
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_15565302_12433.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:193:5: note: template<class _BidirectionalIterator> _BidirectionalIterator std::prev(_BidirectionalIterator, typename std::iterator_traits<_Iter>::difference_type)
prev(_BidirectionalIterator __x, typename
^
0_0_15565302_12433.cpp:62:26: error: reference to 'prev' is ambiguous
memset(prev,0,sizeof(prev));
^
0_0_15565302_12433.cpp:30:5: note: candidates are: int prev [100]
int prev[100];
^
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_15565302_12433.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:193:5: note: template<class _BidirectionalIterator> _BidirectionalIterator std::prev(_BidirectionalIterator, typename std::iterator_traits<_Iter>::difference_type)
prev(_BidirectionalIterator __x, typename
^
|