Borderou de evaluare (job #173131)

Utilizator avatar Grimmer Luca Florescu Grimmer IP ascuns
Problemă Dirty Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 13 dec. 2015 19:39:53 Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8:5: error: ‘int time’ redeclared as different kind of symbol /usr/include/time.h:186:15: error: previous declaration of ‘time_t time(time_t*)’ user.cpp: In function ‘void articulationPoint(int)’: user.cpp:12:4: error: ISO C++ forbids incrementing a pointer of type ‘time_t (*)(time_t*)throw () {aka long int (*)(long int*)throw ()}’ [-fpermissive] user.cpp:12:4: error: lvalue required as increment operand user.cpp:13:29: error: invalid conversion from ‘time_t (*)(time_t*)throw () {aka long int (*)(long int*)throw ()}’ to ‘int’ [-fpermissive] user.cpp: In function ‘int main()’: user.cpp:33:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:34:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:36:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:38:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]