Borderou de evaluare (job #790729)

Utilizator avatar dianaluta Diana Luta dianaluta IP ascuns
Problemă Puteri Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 21 oct. 2024 18:15:36 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:2:1: error: 'ifstream' does not name a type 2 | ifstream fin("puteri.in"); | ^~~~~~~~ main.cpp:3:1: error: 'ofstream' does not name a type 3 | ofstream fout("puteri.out"); | ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:9:5: error: 'fin' was not declared in this scope 9 | fin>>n; | ^~~ main.cpp:16:5: error: 'fout' was not declared in this scope 16 | fout<<p2<<"\n"; | ^~~~