Borderou de evaluare (job #3234956)

Utilizator Vlad.Vlad Cristian Vlad. Data 12 iunie 2024 22:55:25
Problema Ridicare la putere in timp logaritmic 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("lgput.in"); | ^~~~~~~~ main.cpp:4:1: error: 'ofstream' does not name a type 4 | ofstream fout("lgput.out"); | ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:29:5: error: 'fin' was not declared in this scope 29 | fin >> N >> P; | ^~~ main.cpp:30:5: error: 'fout' was not declared in this scope 30 | fout << power_log(N, P, 1999999973) << '\n'; | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?