Borderou de evaluare (job #232038)

Utilizator avatar satyandrei Ianau Andrei Satyarthi satyandrei IP ascuns
Problemă Reteta ( clasa a 10-a ) Compilator cpp
Rundă runda1_pregatire_j10 Status evaluat
Dată 7 apr. 2016 08:34:11 Scor 0

Raport evaluator

Eroare de compilare: user.cpp:12:16: 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 ‘int main()’: user.cpp:36:34: error: ‘itoa’ was not declared in this scope user.cpp:44:79: warning: pointer to a function used in arithmetic [-Wpointer-arith] user.cpp:44:79: error: assignment of function ‘time_t time(time_t*)’ user.cpp:44:79: error: cannot convert ‘time_t (*)(time_t*)throw () {aka long int (*)(long int*)throw ()}’ to ‘time_t(time_t*)throw () {aka long int(long int*)throw ()}’ in assignment user.cpp:45:16: warning: the address of ‘time_t time(time_t*)’ will always evaluate as ‘true’ [-Waddress]