Borderou de evaluare (job #172271)

Utilizator avatar blackheim Petru Stefan Friptu blackheim IP ascuns
Problemă Dirty Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 10 dec. 2015 16:03:14 Scor 0

Raport evaluator

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