Borderou de evaluare (job #759515)

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

Raport evaluator

Eroare de compilare: user.cpp:90: 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:154: warning: pointer to a function used in arithmetic user.cpp:154: warning: pointer to a function used in arithmetic user.cpp:154: error: invalid conversion from ‘int (*)(const time_t*)throw ()’ to ‘lint’ user.cpp: In function ‘void cit(int&)’: user.cpp:188: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result user.cpp:189: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result user.cpp:190: 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:221: warning: pointer to a function used in arithmetic user.cpp:221: error: assignment of read-only location ‘*(stime + ((unsigned int)i))’ user.cpp:221: error: cannot convert ‘int’ to ‘int(const time_t*)’ in assignment user.cpp:195: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:196: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result

Ceva nu functioneaza?