Borderou de evaluare (job #3122767)

Utilizator PatrunjelxdVarona Antoniu Patrunjelxd Data 20 aprilie 2023 16:56:07
Problema Heapuri cu reuniune Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:4:1: error: 'ifstream' does not name a type 4 | ifstream fin("mergeheap.in"); | ^~~~~~~~ main.cpp:5:1: error: 'ofstream' does not name a type 5 | ofstream fout("mergeheap.out"); | ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:113:5: error: 'fin' was not declared in this scope 113 | fin>>n; | ^~~ main.cpp:125:13: error: 'fout' was not declared in this scope 125 | fout<<heap[b].getMax()<<endl; | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?