Borderou de evaluare (job #1574368)

Utilizator sanzianaioneteIonete Sanziana sanzianaionete Data 20 ianuarie 2016 15:31:22
Problema Licenta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:12:15: error: expected ‘)’ before ‘a’ bool cmp(time a, time b) ^ user.cpp:12:23: error: expected ‘)’ before ‘b’ bool cmp(time a, time b) ^ user.cpp:12:24: error: expression list treated as compound expression in initializer [-fpermissive] bool cmp(time a, time b) ^ user.cpp:12:24: warning: left operand of comma operator is a reference, not call, to function ‘time’ [-Waddress] user.cpp:12:24: warning: left operand of comma operator has no effect [-Wunused-value] user.cpp:13:1: error: expected ‘,’ or ‘;’ before ‘{’ token { ^ user.cpp:18:1: error: ‘time’ does not name a type time x; ^ user.cpp:19:1: error: ‘time’ does not name a type time v[400005]; ^ user.cpp: In function ‘int main()’: user.cpp:23:5: error: ‘x’ was not declared in this scope x.c='s'; ^ user.cpp:29:9: error: ‘v’ was not declared in this scope v[l]=x;l++; ^ user.cpp:40:9: error: ‘v’ was not declared in this scope v[l]=x;l++; ^ user.cpp:46:10: error: ‘v’ was not declared in this scope sort(v,v+l,cmp); ^

Ceva nu functioneaza?