Borderou de evaluare (job #1285390)

Utilizator AllenSmailovic Alen Allen Data 7 decembrie 2014 10:53:25
Problema Fenrir Status done
Runda Algoritmiada 2015 - Runda 1, Seniori Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:3:1: error: ‘ofstream’ does not name a type ofstream fout("fenrir.out"); ^ user.cpp: In function ‘int main()’: user.cpp:7:2: error: ‘cout’ was not declared in this scope cout<<5<<endl; ^ user.cpp:7:11: error: ‘endl’ was not declared in this scope cout<<5<<endl; ^ user.cpp:7:11: note: suggested alternative: In file included from /usr/include/c++/4.8/istream:39:0, from /usr/include/c++/4.8/fstream:38, from user.cpp:1: /usr/include/c++/4.8/ostream:564:5: note: ‘std::endl’ endl(basic_ostream<_CharT, _Traits>& __os) ^

Ceva nu functioneaza?