Borderou de evaluare (job #2548962)
Utilizator | Data | 17 februarie 2020 10:40:53 | |
---|---|---|---|
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:7:16: error: variable 'std::ifstream in' has initializer but incomplete type
ifstream in("adunare.in")
^
main.cpp:8:5: error: expected ',' or ';' before 'f'
f>>a>>b;
^
main.cpp:9:17: error: variable 'std::ofstream out' has initializer but incomplete type
ofstream out("adunare.out")
^
main.cpp:10:5: error: expected ',' or ';' before 'out'
out<<a+b<<'\n';
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !