Borderou de evaluare (job #295865)

Utilizator otilia_sOtilia Stretcu otilia_s Data 3 aprilie 2009 18:56:14
Problema Componente tare conexe Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:82:2: warning: no newline at end of file user.cpp:5: error: 'int index [100005]' 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 tarjan(int)': user.cpp:48: error: pointer to a function used in arithmetic user.cpp:48: error: assignment of read-only location user.cpp:48: error: cannot convert 'int' to 'char* ()(const char*, int)throw ()' in assignment user.cpp:53: error: pointer to a function used in arithmetic user.cpp:55: error: pointer to a function used in arithmetic user.cpp:60: error: pointer to a function used in arithmetic user.cpp:60: error: ISO C++ forbids comparison between pointer and integer user.cpp: In function 'int main()': user.cpp:75: error: ISO C++ forbids applying 'sizeof' to an expression of function type user.cpp:75: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'void*' user.cpp:75: error: initializing argument 1 of 'void* memset(void*, int, size_t)' user.cpp:79: error: pointer to a function used in arithmetic

Ceva nu functioneaza?