Borderou de evaluare (job #3146247)

Utilizator andrei_marciucMarciuc Andrei andrei_marciuc Data 19 august 2023 16:06:39
Problema Oo 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:15:5: error: 'cin' was not declared in this scope 15 | cin >> n; | ^~~ main.cpp:4:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'? 3 | #include <vector> +++ |+#include <iostream> 4 | using namespace std; main.cpp:43:5: error: 'cout' was not declared in this scope 43 | cout << contor << '\n'; | ^~~~ main.cpp:43:5: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'? Non zero exit status: 1

Ceva nu functioneaza?