Borderou de evaluare (job #1781798)

Utilizator sorana13Galan Sorana Antonia sorana13 Data 17 octombrie 2016 14:44:53
Problema A+B Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:4:1: error: expected ‘,’ or ‘;’ before ‘ofstream’ ofstream fout("adunare.out") ^ user.cpp: In function ‘int main()’: user.cpp:8:10: error: ‘a’ was not declared in this scope fin>>a>>b; ^ user.cpp:8:13: error: ‘b’ was not declared in this scope fin>>a>>b; ^ user.cpp:9:5: error: ‘c’ was not declared in this scope c=a+b; ^ user.cpp:10:5: error: ‘fout’ was not declared in this scope fout<<c; ^

Ceva nu functioneaza?