Borderou de evaluare (job #1046370)

Utilizator vezure12vezure cristi vezure12 Data 2 decembrie 2013 21:11:59
Problema Sortare prin comparare Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:3:1: error: ‘ifstream’ does not name a type ifstream f("algsort.in"); ^ user.cpp:4:1: error: ‘ofstream’ does not name a type ofstream g("algsort.out"); ^ user.cpp: In function ‘int main()’: user.cpp:46:5: error: ‘f’ was not declared in this scope { f>>n; ^ user.cpp:51:9: error: ‘g’ was not declared in this scope g<<a[i]<<" "; ^ user.cpp:52:5: error: ‘g’ was not declared in this scope g<<endl; ^ user.cpp:52:8: error: ‘endl’ was not declared in this scope g<<endl; ^ user.cpp:52:8: note: suggested alternative: In file included from /usr/local/include/c++/4.8.0/iostream:39:0, from user.cpp:1: /usr/local/include/c++/4.8.0/ostream:564:5: note: ‘std::endl’ endl(basic_ostream<_CharT, _Traits>& __os) ^

Ceva nu functioneaza?