Borderou de evaluare (job #249286)

Utilizator ZeusCatalin Tiseanu Zeus Data 27 ianuarie 2009 23:07:41
Problema Tcast Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare in evaluator: user.cpp:10: error: 'int index [2010][2010]' redeclared as different kind of symbol /usr/include/string.h:310: error: previous declaration of 'char* index(const char*, int)' user.cpp: In function 'bool ok(int, int, int, int)': 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: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'int' user.cpp: In function 'int baga(int, int, int)': user.cpp:63: warning: comparison between signed and unsigned integer expressions user.cpp:77: warning: comparison between signed and unsigned integer expressions user.cpp:86: error: pointer to a function used in arithmetic user.cpp:86: error: pointer to a function used in arithmetic user.cpp:86: error: assignment of read-only location user.cpp:86: error: cannot convert 'int' to 'char* ()(const char*, int)throw ()' in assignment user.cpp:90: error: pointer to a function used in arithmetic user.cpp:90: error: pointer to a function used in arithmetic user.cpp:90: error: ISO C++ forbids comparison between pointer and integer user.cpp:92: error: pointer to a function used in arithmetic user.cpp:92: error: pointer to a function used in arithmetic user.cpp:92: error: ISO C++ forbids comparison between pointer and integer user.cpp:93: error: pointer to a function used in arithmetic user.cpp:93: error: pointer to a function used in arithmetic user.cpp:93: error: pointer to a function used in arithmetic user.cpp:93: error: pointer to a function used in arithmetic user.cpp:93: error: pointer to a function used in arithmetic user.cpp:93: error: assignment of read-only location user.cpp:93: error: cannot convert 'char* ()(const char*, int)throw ()' to 'char* ()(const char*, int)throw ()' in assignment user.cpp: In function 'int main()': user.cpp:168: error: ISO C++ forbids applying 'sizeof' to an expression of function type user.cpp:168: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'void*' user.cpp:168: error: initializing argument 1 of 'void* memset(void*, int, size_t)'

Ceva nu functioneaza?