Borderou de evaluare (job #881560)

Utilizator danalex97Dan H Alexandru danalex97 Data 18 februarie 2013 11:37:32
Problema Kinetic Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:41: error: ‘int time’ redeclared as different kind of symbol /usr/include/time.h:186: error: previous declaration of ‘time_t time(time_t*)’ user.cpp: In function ‘int up(int, int)’: user.cpp:71: error: invalid conversion from ‘time_t (*)(time_t*)throw ()’ to ‘int’ user.cpp:71: error: initializing argument 2 of ‘int funct(a_type, int)’ user.cpp:75: error: invalid conversion from ‘time_t (*)(time_t*)throw ()’ to ‘int’ user.cpp:75: error: initializing argument 2 of ‘int funct(a_type, int)’ user.cpp:77: error: invalid conversion from ‘time_t (*)(time_t*)throw ()’ to ‘int’ user.cpp:77: error: initializing argument 2 of ‘int funct(a_type, int)’ user.cpp:83: error: invalid conversion from ‘time_t (*)(time_t*)throw ()’ to ‘int’ user.cpp:83: error: initializing argument 2 of ‘int funct(a_type, int)’ user.cpp: In function ‘int low(int, int)’: user.cpp:92: error: invalid conversion from ‘time_t (*)(time_t*)throw ()’ to ‘int’ user.cpp:92: error: initializing argument 2 of ‘int funct(a_type, int)’ user.cpp:98: error: invalid conversion from ‘time_t (*)(time_t*)throw ()’ to ‘int’ user.cpp:98: error: initializing argument 2 of ‘int funct(a_type, int)’ user.cpp: In function ‘int main()’: user.cpp:147: error: assignment of function ‘time_t time(time_t*)’ user.cpp:147: error: cannot convert ‘int’ to ‘time_t(time_t*)throw ()’ in assignment

Ceva nu functioneaza?