Borderou de evaluare (job #732715)

Utilizator avatar alexandra2010 Cozma Alexandra alexandra2010 IP ascuns
Problemă Reuniunea a doua intervale Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 19 sept. 2023 20:25:08 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:8:3: error: 'cin' was not declared in this scope 8 | cin>>a1>>a2>>b1>>b2; | ^~~ main.cpp:2:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'? 1 | #include <fstream> +++ |+#include <iostream> 2 | using namespace std; main.cpp:10:5: error: 'cout' was not declared in this scope 10 | cout<<-1<<endl; | ^~~~ main.cpp:10:5: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'? main.cpp:19:5: error: 'cout' was not declared in this scope 19 | cout<<a1<<" "<<a2<<endl; | ^~~~ main.cpp:19:5: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?