Borderou de evaluare (job #545016)

Utilizator radu_voroneanuVoroneanu Radu Stefan radu_voroneanu Data 2 martie 2011 16:47:24
Problema Walls Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:77:2: warning: no newline at end of file user.cpp:12: error: '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:59: error: assignment of function 'char* index(const char*, int)' user.cpp:59: error: cannot convert 'int' to 'char* ()(const char*, int)throw ()' in assignment user.cpp:60: error: ISO C++ forbids comparison between pointer and integer user.cpp:66: error: invalid types 'long long int [100010][char* ()(const char*, int)throw ()]' for array subscript user.cpp:66: error: invalid types 'int [100010][char* ()(const char*, int)throw ()]' for array subscript user.cpp:67: warning: format '%d' expects type 'int', but argument 2 has type 'char* (*)(const char*, int)throw ()' user.cpp:70: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'int' user.cpp:70: error: initializing argument 4 of 'void update(int, int, int, int, int)' /usr/include/c++/4.2/bits/stl_pair.h: In constructor 'std::pair<_T1, _T2>::pair(const std::pair<_U1, _U2>&) [with _U1 = char* (*)(const char*, int)throw (), _U2 = int, _T1 = int, _T2 = int]': user.cpp:64: instantiated from here /usr/include/c++/4.2/bits/stl_pair.h:90: error: invalid conversion from 'char* (* const)(const char*, int)throw ()' to 'int'

Ceva nu functioneaza?