Borderou de evaluare (job #759514)

Utilizator cont_de_testeCont Teste cont_de_teste Data 18 iunie 2012 13:18:41
Problema Harbingers Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:96: error: ‘int stime [100050]’ redeclared as different kind of symbol /usr/include/time.h:298: error: previous declaration of ‘int stime(const time_t*)’ user.cpp: In function ‘void traverse()’: user.cpp:169: warning: pointer to a function used in arithmetic user.cpp:169: warning: pointer to a function used in arithmetic user.cpp:169: error: invalid conversion from ‘int (*)(const time_t*)throw ()’ to ‘lint’ user.cpp: In function ‘void cit(int&)’: user.cpp:203: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result user.cpp:204: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result user.cpp:205: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result user.cpp: In function ‘int main()’: user.cpp:235: warning: pointer to a function used in arithmetic user.cpp:235: error: invalid initialization of non-const reference of type ‘int&’ from a temporary of type ‘int (*)(const time_t*)throw ()’ user.cpp:202: error: in passing argument 1 of ‘void cit(int&)’ user.cpp:234: warning: unused variable ‘x’ user.cpp:234: warning: unused variable ‘y’ user.cpp:210: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:211: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result

Ceva nu functioneaza?