Borderou de evaluare (job #2680186)

Utilizator CRACIUNESCUalexCraciunescu Cristian Alexandru CRACIUNESCUalex Data 2 decembrie 2020 21:22:55
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:8:5: error: expected ',' or ';' before 'ofstream' ofstream fout("adunare.out") ^~~~~~~~ main.cpp:10:10: error: 'a' was not declared in this scope fin>>a>>b; ^ main.cpp:10:13: error: 'b' was not declared in this scope fin>>a>>b; ^ main.cpp:11:5: error: 'fout' was not declared in this scope fout<<a+b; ^~~~ Non zero exit status: 1

Ceva nu functioneaza?