Borderou de evaluare (job #120314)

Utilizator TabaraTabara Mihai Tabara Data 4 ianuarie 2008 21:33:09
Problema Orase Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare in evaluator: user.cpp:12: error: 'std::vector<int, std::allocator<int> > index' redeclared as different kind of symbol /usr/include/string.h:310: error: previous declaration of 'char* index(const char*, int)' user.cpp: In function 'int main()': user.cpp:32: error: request for member 'push_back' in 'index', which is of non-class type 'char* ()(const char*, int)throw ()' user.cpp:36: error: request for member 'begin' in 'index', which is of non-class type 'char* ()(const char*, int)throw ()' user.cpp:36: error: request for member 'end' in 'index', which is of non-class type 'char* ()(const char*, int)throw ()' user.cpp:41: error: pointer to a function used in arithmetic user.cpp:41: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'unsigned int' user.cpp:41: error: initializing argument 1 of 'typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::reference std::vector<_Tp, _Alloc>::operator[](size_t) [with _Tp = int, _Alloc = std::allocator<int>]' user.cpp:41: error: pointer to a function used in arithmetic user.cpp:41: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'unsigned int' user.cpp:41: error: initializing argument 1 of 'typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::reference std::vector<_Tp, _Alloc>::operator[](size_t) [with _Tp = int, _Alloc = std::allocator<int>]' user.cpp:42: error: request for member 'size' in 'index', which is of non-class type 'char* ()(const char*, int)throw ()' user.cpp:44: error: pointer to a function used in arithmetic user.cpp:44: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'unsigned int' user.cpp:44: error: initializing argument 1 of 'typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::reference std::vector<_Tp, _Alloc>::operator[](size_t) [with _Tp = int, _Alloc = std::allocator<int>]' user.cpp:44: error: pointer to a function used in arithmetic user.cpp:44: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'unsigned int' user.cpp:44: error: initializing argument 1 of 'typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::reference std::vector<_Tp, _Alloc>::operator[](size_t) [with _Tp = int, _Alloc = std::allocator<int>]' user.cpp:45: error: pointer to a function used in arithmetic user.cpp:45: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'unsigned int' user.cpp:45: error: initializing argument 1 of 'typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::reference std::vector<_Tp, _Alloc>::operator[](size_t) [with _Tp = int, _Alloc = std::allocator<int>]' user.cpp:45: error: pointer to a function used in arithmetic user.cpp:45: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'unsigned int' user.cpp:45: error: initializing argument 1 of 'typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::reference std::vector<_Tp, _Alloc>::operator[](size_t) [with _Tp = int, _Alloc = std::allocator<int>]'

Ceva nu functioneaza?