Borderou de evaluare (job #2341065)
Utilizator | Data | 11 februarie 2019 15:19:35 | |
---|---|---|---|
Problema | A+B | Status | done |
Runda | sem2_1 | Compilator | cpp-32 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:9:5: error: expected ',' or ';' before 'ofstream'
ofstream fout("adunare.out")
^~~~~~~~
main.cpp:12:10: error: 'a' was not declared in this scope
fin>>a>>b;
^
main.cpp:12:13: error: 'b' was not declared in this scope
fin>>a>>b;
^
main.cpp:13:5: error: 'fout' was not declared in this scope
fout<<a+b;
^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !