Borderou de evaluare (job #2332165)

Utilizator bvd.dorinBaba Dorin bvd.dorin Data 30 ianuarie 2019 14:26:40
Problema Factorial Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:4:1: error: 'ifstream' does not name a type ifstream fin("fact.in"); ^~~~~~~~ main.cpp:5:1: error: 'ofstream' does not name a type ofstream fout("fact.out"); ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:25:2: error: 'fin' was not declared in this scope fin>> a; ^~~ main.cpp:30:4: error: 'fout' was not declared in this scope fout << i; break; ^~~~ main.cpp:34:2: error: 'fout' was not declared in this scope fout.close(); ^~~~ main.cpp:26:6: warning: unused variable 'zerouri' [-Wunused-variable] int zerouri[1000]; ^~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?