Borderou de evaluare (job #2740766)
Utilizator | Data | 14 aprilie 2021 12:00:27 | |
---|---|---|---|
Problema | A+B | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:5:1: error: expected ',' or ';' before 'ofstream'
ofstream odu("adunare.out")
^~~~~~~~
main.cpp:7:8: error: 'a' was not declared in this scope
adu >> a >> b;
^
main.cpp:7:13: error: 'b' was not declared in this scope
adu >> a >> b;
^
main.cpp:8:1: error: 'odu' was not declared in this scope
odu << a + b;
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !