Borderou de evaluare (job #186193)

Utilizator JohnnyBravoJohnny Bravo JohnnyBravo Data 26 aprilie 2008 20:56:02
Problema Geamuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare in evaluator: user.cpp:27: error: 'int index [100002]' 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 solve()': user.cpp:62: error: pointer to a function used in arithmetic user.cpp:62: error: invalid types 'event [100002][char* ()(const char*, int)throw ()]' for array subscript user.cpp:62: error: pointer to a function used in arithmetic user.cpp:62: error: invalid types 'event [100002][char* ()(const char*, int)throw ()]' for array subscript user.cpp:63: error: pointer to a function used in arithmetic user.cpp:63: error: invalid types 'event [100002][char* ()(const char*, int)throw ()]' for array subscript user.cpp:63: error: pointer to a function used in arithmetic user.cpp:63: error: invalid types 'event [100002][char* ()(const char*, int)throw ()]' for array subscript user.cpp:65: error: pointer to a function used in arithmetic user.cpp:65: error: invalid types 'event [100002][char* ()(const char*, int)throw ()]' for array subscript user.cpp:65: error: pointer to a function used in arithmetic user.cpp:65: error: invalid types 'event [100002][char* ()(const char*, int)throw ()]' for array subscript user.cpp:66: error: pointer to a function used in arithmetic user.cpp:66: error: invalid types 'event [100002][char* ()(const char*, int)throw ()]' for array subscript user.cpp:66: error: pointer to a function used in arithmetic user.cpp:66: error: invalid types 'event [100002][char* ()(const char*, int)throw ()]' for array subscript user.cpp: In function 'int main()': user.cpp:81: error: pointer to a function used in arithmetic user.cpp:81: error: assignment of read-only location user.cpp:81: error: cannot convert 'int' to 'char* ()(const char*, int)throw ()' in assignment user.cpp:83: error: pointer to a function used in arithmetic /usr/include/c++/4.2/bits/stl_algo.h: In function 'void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = char* (*)(const char*, int)throw (), _Compare = bool (*)(const int&, const int&)]':

Ceva nu functioneaza?