Borderou de evaluare (job #1524526)

Utilizator RiciuMoldovan Rares Riciu Data 14 noiembrie 2015 11:09:18
Problema A+B Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:8:1: error: expected ‘,’ or ‘;’ before ‘ofstream’ ofstream h("adunare.out") ^ user.cpp:10:1: error: ‘cin’ was not declared in this scope cin>>int b; ^ user.cpp:10:6: error: expected primary-expression before ‘int’ cin>>int b; ^ user.cpp:10:6: error: expected ‘;’ before ‘int’ user.cpp:11:1: error: ‘h’ was not declared in this scope h<<a+b;} ^ user.cpp:11:4: error: ‘a’ was not declared in this scope h<<a+b;} ^ user.cpp:11:6: error: ‘b’ was not declared in this scope h<<a+b;} ^

Ceva nu functioneaza?