Borderou de evaluare (job #172267)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Dirty | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 10 dec. 2015 15:58:21 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:25: 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 articulation(int)’:
user.cpp:11:9: error: ISO C++ forbids incrementing a pointer of type ‘time_t (*)(time_t*)throw () {aka long int (*)(long int*)throw ()}’ [-fpermissive]
user.cpp:11:9: error: lvalue required as increment operand
user.cpp:12:20: error: invalid conversion from ‘time_t (*)(time_t*)throw () {aka long int (*)(long int*)throw ()}’ to ‘int’ [-fpermissive]
user.cpp:13:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
user.cpp: In function ‘int main()’:
user.cpp:33:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:34:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:35:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:38:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]