Borderou de evaluare (job #1142311)

Utilizator ArmandNMArmand Nicolicioiu ArmandNM Data 13 martie 2014 18:29:37
Problema Search Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void precompute()’: user.cpp:22:21: error: reference to ‘next’ is ambiguous memset (next[i][j], INF, sizeof (next[i][j])); ^ user.cpp:13:5: note: candidates are: int next [101][5005][26] int next[NMAX][LMAX][ALPHA]; ^ In file included from /usr/local/include/c++/4.8.0/bits/stl_algobase.h:66:0, from /usr/local/include/c++/4.8.0/algorithm:61, from user.cpp:3: /usr/local/include/c++/4.8.0/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 ^ user.cpp:22:46: error: reference to ‘next’ is ambiguous memset (next[i][j], INF, sizeof (next[i][j])); ^ user.cpp:13:5: note: candidates are: int next [101][5005][26] int next[NMAX][LMAX][ALPHA]; ^ In file included from /usr/local/include/c++/4.8.0/bits/stl_algobase.h:66:0, from /usr/local/include/c++/4.8.0/algorithm:61, from user.cpp:3: /usr/local/include/c++/4.8.0/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 ^ user.cpp:28:5: error: reference to ‘next’ is ambiguous next[i][j][k] = next[i][j+1][k]; ^ user.cpp:13:5: note: candidates are: int next [101][5005][26] int next[NMAX][LMAX][ALPHA]; ^ In file included from /usr/local/include/c++/4.8.0/bits/stl_algobase.h:66:0, from /usr/local/include/c++/4.8.0/algorithm:61, from user.cpp:3: /usr/local/include/c++/4.8.0/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 ^ user.cpp:28:21: error: reference to ‘next’ is ambiguous next[i][j][k] = next[i][j+1][k]; ^ user.cpp:13:5: note: candidates are: int next [101][5005][26] int next[NMAX][LMAX][ALPHA]; ^ In file included from /usr/local/include/c++/4.8.0/bits/stl_algobase.h:66:0, from /usr/local/include/c++/4.8.0/algorithm:61, from user.cpp:3: /usr/local/include/c++/4.8.0/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 ^ user.cpp:29:34: error: reference to ‘next’ is ambiguous

Ceva nu functioneaza?