Borderou de evaluare (job #1109641)
Utilizator | Data | 17 februarie 2014 14:06:11 | |
---|---|---|---|
Problema | Fructe | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:1: error: expected ‘,’ or ‘;’ before ‘ofstream’
ofstream cout("fructe.out")
^
user.cpp: In function ‘int main()’:
user.cpp:10:8: error: ‘T’ was not declared in this scope
cin >> T;
^
user.cpp:12:6: error: ‘i’ was not declared in this scope
for (i=1; i<= T; ++i)
^
user.cpp:13:5: warning: unused variable ‘p’ [-Wunused-variable]
int p, b ;
^
user.cpp:13:8: warning: unused variable ‘b’ [-Wunused-variable]
int p, b ;
^
user.cpp:14:7: error: ‘p’ was not declared in this scope
cin>> p >> b;
^
user.cpp:14:12: error: ‘b’ was not declared in this scope
cin>> p >> b;
^
user.cpp:16:1: error: ‘cout’ was not declared in this scope
cout <<0
^
user.cpp:17:2: error: expected ‘;’ before ‘else’
else
^
user.cpp:20:1: error: ‘cout’ was not declared in this scope
cout.close ();
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !