Borderou de evaluare (job #3273061)

Utilizator FlaviuuuFlaviu Flaviuuu Data 1 februarie 2025 09:27:54
Problema Energii 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:16:34: error: 'cin' was not declared in this scope 16 | ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); | ^~~ main.cpp:8:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'? 7 | #include <set> +++ |+#include <iostream> 8 | using namespace std; main.cpp:16:46: error: 'cout' was not declared in this scope 16 | ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); | ^~~~ main.cpp:16:46: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'? Non zero exit status: 1

Ceva nu functioneaza?