Borderou de evaluare (job #3167386)

Utilizator Stefi345365Motoc Stefan-Cristian Stefi345365 Data 10 noiembrie 2023 18:06:29
Problema Al k-lea termen Fibonacci Status done
Runda Arhiva educationala 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 ("kfib.in"); | ^~~~~~~~ main.cpp:4:1: error: 'ofstream' does not name a type 4 | ofstream fout ("kfib.out"); | ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:38:5: error: 'fin' was not declared in this scope 38 | fin >> n; | ^~~ main.cpp:52:5: error: 'fout' was not declared in this scope 52 | fout << rasp[0][1]; | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?