Borderou de evaluare (job #1365453)

Utilizator shanti_zmuschiShanti Zmuschi shanti_zmuschi Data 28 februarie 2015 12:02:06
Problema Factorial Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:2:1: error: ‘ifstream’ does not name a type ifstream fin("fact.in"); ^ user.cpp:3:1: error: ‘ofstream’ does not name a type ofstream fout("fact.out"); ^ user.cpp: In function ‘int main()’: user.cpp:7:5: error: ‘fin’ was not declared in this scope fin>>P; ^ user.cpp:9:9: error: ‘fout’ was not declared in this scope fout<<1; ^ user.cpp:30:9: error: ‘fout’ was not declared in this scope fout<<N-1; ^ user.cpp:33:5: error: ‘fout’ was not declared in this scope fout.close(); ^

Ceva nu functioneaza?