Borderou de evaluare (job #3170059)

Utilizator andrei_btwAndrei Nastasa andrei_btw Data 16 noiembrie 2023 19:01:05
Problema Factorial Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:3:1: error: 'ifstream' does not name a type 3 | ifstream fin("fact.in"); | ^~~~~~~~ main.cpp:4:1: error: 'ofstream' does not name a type 4 | ofstream fout("fact.out"); | ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:24:5: error: 'fin' was not declared in this scope 24 | fin>>p; | ^~~ main.cpp:31:6: error: 'fout' was not declared in this scope 31 | fout<<i-1; | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?