Borderou de evaluare (job #1505275)

Utilizator sebyvsCarp Sebastian sebyvs Data 18 octombrie 2015 22:39:41
Problema Bete2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void Citire()’: user.cpp:8:5: error: ‘ifstream’ was not declared in this scope ifstream fin("bete2.in"); ^ user.cpp:8:14: error: expected ‘;’ before ‘fin’ ifstream fin("bete2.in"); ^ user.cpp:9:5: error: ‘fin’ was not declared in this scope fin>>n; ^ user.cpp:12:15: error: ‘sort’ was not declared in this scope sort(v,v+n); ^ user.cpp: In function ‘void Solutie()’: user.cpp:42:5: error: ‘ofstream’ was not declared in this scope ofstream fout("bete2.out"); ^ user.cpp:42:14: error: expected ‘;’ before ‘fout’ ofstream fout("bete2.out"); ^ user.cpp:43:5: error: ‘fout’ was not declared in this scope fout<<cnt<<"\n"; ^

Ceva nu functioneaza?