Borderou de evaluare (job #815190)

Utilizator avatar RipaD Dorel Ripa RipaD IP ascuns
Problemă Fib (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 19 mar. 2025 11:03:25 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:3:1: error: 'ifstream' does not name a type 3 | ifstream fin("fib.in"); | ^~~~~~~~ main.cpp:4:1: error: 'ofstream' does not name a type 4 | ofstream fout("fib.out"); | ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:36:5: error: 'fin' was not declared in this scope; did you mean 'fib'? 36 | fin >> n; | ^~~ | fib main.cpp:38:5: error: 'fout' was not declared in this scope 38 | fout << fib_sequence[n] << endl; | ^~~~