Borderou de evaluare (job #1465986)

Utilizator JohnnyCodeSava Ioan JohnnyCode Data 28 iulie 2015 13:30:16
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: ‘ifstream’ does not name a type ifstream f("adunare.in"); ^ user.cpp:5:1: error: ‘ofstream’ does not name a type ofstream out("adunare.out"); ^ user.cpp: In function ‘int main()’: user.cpp:9:2: error: ‘f’ was not declared in this scope f>>a; ^ user.cpp:11:1: error: ‘g’ was not declared in this scope g<<a+b<<endl; ^ user.cpp:11:9: error: ‘endl’ was not declared in this scope g<<a+b<<endl; ^ user.cpp:11:9: note: suggested alternative: In file included from /usr/include/c++/4.8/iostream:39:0, from user.cpp:1: /usr/include/c++/4.8/ostream:564:5: note: ‘std::endl’ endl(basic_ostream<_CharT, _Traits>& __os) ^

Ceva nu functioneaza?