Borderou de evaluare (job #3150506)

Utilizator andreandreAndreea Manole andreandre Data 16 septembrie 2023 22:48:15
Problema Joctv 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:6:5: error: 'cin' was not declared in this scope 6 | cin >> N; | ^~~ main.cpp:2:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'? 1 | #include <vector> +++ |+#include <iostream> 2 | using namespace std; main.cpp:35:5: error: 'cout' was not declared in this scope 35 | cout << maximum; | ^~~~ main.cpp:35:5: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'? Non zero exit status: 1

Ceva nu functioneaza?