Borderou de evaluare (job #2955593)

Utilizator TheGodFather2131Alexandru Miclea TheGodFather2131 Data 17 decembrie 2022 13:32:52
Problema Mit Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:136:15: error: 'cin' was not declared in this scope 136 | int n, m; cin >> n >> m; | ^~~ main.cpp:24:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'? 23 | #include <fstream> +++ |+#include <iostream> 24 | main.cpp:150:21: error: 'cout' was not declared in this scope 150 | if (c == 1) cout << query(1, 1, n, a, b) << '\n'; | ^~~~ main.cpp:150:21: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'? Non zero exit status: 1

Ceva nu functioneaza?