Borderou de evaluare (job #3122766)

Utilizator PatrunjelxdVarona Antoniu Patrunjelxd Data 20 aprilie 2023 16:54:10
Problema Heapuri cu reuniune 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("mergeheap.in"); | ^~~~~~~~ main.cpp:4:1: error: 'ofstream' does not name a type 4 | ofstream fout("mergeheap.out"); | ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:112:5: error: 'fin' was not declared in this scope 112 | fin>>n; | ^~~ main.cpp:124:13: error: 'fout' was not declared in this scope 124 | fout<<heap[b].getMax()<<endl; | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?