Borderou de evaluare (job #1701884)
Utilizator | Data | 14 mai 2016 12:32:14 | |
---|---|---|---|
Problema | Balul Bobocilor | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:9: error: ‘d1’ was not declared in this scope
in>>d1;
^
user.cpp:15:5: error: expected ‘;’ before ‘t2’
t2=d1/v2;
^
user.cpp:16:5: error: ‘d2’ was not declared in this scope
d2=t1*v1;
^
user.cpp:17:5: error: ‘d3’ was not declared in this scope
d3=t2*v1
^
user.cpp:18:5: error: expected ‘;’ before ‘final’
final=d1+d2+d3;
^
user.cpp:9:9: warning: unused variable ‘d’ [-Wunused-variable]
int d,v1,v2,v3,h1,h2,g1,g2,t1,t2;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !