Borderou de evaluare (job #2891370)

Utilizator Minea_TheodorMinea Theodor Stefan Minea_Theodor Data 18 aprilie 2022 13:52:50
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:66:5: error: 'cin' was not declared in this scope 66 | cin >> n; | ^~~ main.cpp:2:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'? 1 | #include <fstream> +++ |+#include <iostream> 2 | main.cpp:75:13: error: 'cout' was not declared in this scope 75 | cout << Binara0(v, n, x); | ^~~~ main.cpp:75:13: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'? main.cpp:77:13: error: 'cout' was not declared in this scope 77 | cout << Binara1(v, n, x); | ^~~~ main.cpp:77:13: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'? main.cpp:79:13: error: 'cout' was not declared in this scope 79 | cout << Binara2(v, n, x); | ^~~~ main.cpp:79:13: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'? Non zero exit status: 1

Ceva nu functioneaza?