Borderou de evaluare (job #1295992)
Utilizator | Data | 20 decembrie 2014 15:07:12 | |
---|---|---|---|
Problema | Suma2 | Status | done |
Runda | test_casian | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:6:2: error: ‘ofstram’ was not declared in this scope
ofstram fout ("suma2.out");
^
user.cpp:6:10: error: expected ‘;’ before ‘fout’
ofstram fout ("suma2.out");
^
user.cpp:15:4: error: ‘fout’ was not declared in this scope
fout<<a[1];
^
user.cpp:17:4: error: ‘fout’ was not declared in this scope
fout<<"0";
^
user.cpp:22:3: error: ‘fout’ was not declared in this scope
fout<<max(a[1],a[2]);
^
user.cpp:23:8: error: ‘fout’ was not declared in this scope
else fout<<"0";
^
user.cpp:34:6: error: ‘pos’ was not declared in this scope
pos=i;
^
user.cpp:28:8: warning: unused variable ‘max’ [-Wunused-variable]
int max=0;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !