Borderou de evaluare (job #2797027)

Utilizator NeuerRaducu Ioan Stefan Neuer Data 9 noiembrie 2021 10:19:32
Problema Heapuri Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void afis()': main.cpp:17:9: error: 'cout' was not declared in this scope 17 | cout<<pos[i]<<' '; | ^~~~ main.cpp:2:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'? 1 | #include <fstream> +++ |+#include <iostream> 2 | main.cpp: In function 'int main()': main.cpp:68:5: error: 'cin' was not declared in this scope 68 | cin>>n; | ^~~ main.cpp:68:5: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'? main.cpp:75:14: error: 'cout' was not declared in this scope 75 | else cout<<heap[1]<<'\n'; | ^~~~ main.cpp:75:14: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'? Non zero exit status: 1

Ceva nu functioneaza?