Borderou de evaluare (job #172313)

Utilizator avatar vazan Ionescu Victor Razvan vazan IP ascuns
Problemă Dirty Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 10 dec. 2015 16:40:13 Scor 0

Raport evaluator

Eroare de compilare: user.cpp:7: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 dfs(int)’: user.cpp:12:9: error: ISO C++ forbids incrementing a pointer of type ‘time_t (*)(time_t*)throw () {aka long int (*)(long int*)throw ()}’ [-fpermissive] user.cpp:12:9: error: lvalue required as increment operand user.cpp:13:13: error: invalid conversion from ‘time_t (*)(time_t*)throw () {aka long int (*)(long int*)throw ()}’ to ‘int’ [-fpermissive] user.cpp:14:12: error: invalid conversion from ‘time_t (*)(time_t*)throw () {aka long int (*)(long int*)throw ()}’ to ‘int’ [-fpermissive] user.cpp:15:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp: In function ‘int main()’: user.cpp:36:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:37:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:39:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:42:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]