Borderou de evaluare (job #1586004)

Utilizator razvandRazvan Dumitru razvand Data 31 ianuarie 2016 17:52:59
Problema Momente Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:16:16: error: ‘t’ was not declared in this scope bool sec(time &t); ^ user.cpp:18:15: error: expected ‘)’ before ‘t’ bool pal(time t); ^ user.cpp:18:16: warning: the address of ‘time_t time(time_t*)’ will always evaluate as ‘true’ [-Waddress] bool pal(time t); ^ user.cpp:19:14: error: expected ‘)’ before ‘t1’ bool eq(time t1, time t2); ^ user.cpp:19:23: error: expected ‘)’ before ‘t2’ bool eq(time t1, time t2); ^ user.cpp:19:25: error: expression list treated as compound expression in initializer [-fpermissive] bool eq(time t1, time t2); ^ user.cpp:19:25: warning: left operand of comma operator is a reference, not call, to function ‘time’ [-Waddress] user.cpp:19:25: warning: left operand of comma operator has no effect [-Wunused-value] user.cpp:21:10: error: redefinition of ‘bool sec’ bool sec(time &t) { ^ user.cpp:16:6: error: ‘bool sec’ previously defined here bool sec(time &t); ^ user.cpp:21:16: error: ‘t’ was not declared in this scope bool sec(time &t) { ^

Ceva nu functioneaza?