Borderou de evaluare (job #551549)

Utilizator blastoiseZ.Z.Daniel blastoise Data 10 martie 2011 21:06:03
Problema Sortare prin comparare Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8: error: 'int index [256]' redeclared as different kind of symbol /usr/include/string.h:310: error: previous declaration of 'char* index(const char*, int)' user.cpp: In function 'void radix(int, int*, int*)': user.cpp:16: error: reference to 'count' is ambiguous user.cpp:8: error: candidates are: int count [256] /usr/include/c++/4.2/bits/stl_algo.h:424: error: template<class _InputIterator, class _Tp> typename std::iterator_traits::difference_type std::count(_InputIterator, _InputIterator, const _Tp&) user.cpp:16: error: reference to 'count' is ambiguous user.cpp:8: error: candidates are: int count [256] /usr/include/c++/4.2/bits/stl_algo.h:424: error: template<class _InputIterator, class _Tp> typename std::iterator_traits::difference_type std::count(_InputIterator, _InputIterator, const _Tp&) user.cpp:16: error: reference to 'count' is ambiguous user.cpp:8: error: candidates are: int count [256] /usr/include/c++/4.2/bits/stl_algo.h:424: error: template<class _InputIterator, class _Tp> typename std::iterator_traits::difference_type std::count(_InputIterator, _InputIterator, const _Tp&) user.cpp:16: error: reference to 'count' is ambiguous user.cpp:8: error: candidates are: int count [256] /usr/include/c++/4.2/bits/stl_algo.h:424: error: template<class _InputIterator, class _Tp> typename std::iterator_traits::difference_type std::count(_InputIterator, _InputIterator, const _Tp&) user.cpp:18: error: reference to 'count' is ambiguous user.cpp:8: error: candidates are: int count [256] /usr/include/c++/4.2/bits/stl_algo.h:424: error: template<class _InputIterator, class _Tp> typename std::iterator_traits::difference_type std::count(_InputIterator, _InputIterator, const _Tp&) user.cpp:18: error: reference to 'count' is ambiguous user.cpp:8: error: candidates are: int count [256] /usr/include/c++/4.2/bits/stl_algo.h:424: error: template<class _InputIterator, class _Tp> typename std::iterator_traits::difference_type std::count(_InputIterator, _InputIterator, const _Tp&) user.cpp:20: error: pointer to a function used in arithmetic user.cpp:20: error: assignment of function 'char* index(const char*, int)' user.cpp:20: error: cannot convert 'int' to 'char* ()(const char*, int)throw ()' in assignment user.cpp:21: error: pointer to a function used in arithmetic user.cpp:21: error: pointer to a function used in arithmetic user.cpp:21: error: pointer to a function used in arithmetic user.cpp:21: error: reference to 'count' is ambiguous user.cpp:8: error: candidates are: int count [256] /usr/include/c++/4.2/bits/stl_algo.h:424: error: template<class _InputIterator, class _Tp> typename std::iterator_traits::difference_type std::count(_InputIterator, _InputIterator, const _Tp&) user.cpp:21: error: reference to 'count' is ambiguous user.cpp:8: error: candidates are: int count [256] /usr/include/c++/4.2/bits/stl_algo.h:424: error: template<class _InputIterator, class _Tp> typename std::iterator_traits::difference_type std::count(_InputIterator, _InputIterator, const _Tp&) user.cpp:22: error: pointer to a function used in arithmetic user.cpp:22: error: ISO C++ forbids incrementing a pointer of type 'char* (*)(const char*, int)throw ()' user.cpp:22: error: lvalue required as increment operand

Ceva nu functioneaza?