Borderou de evaluare (job #624331)

Utilizator avatar AlexTM Toma Alexandru AlexTM IP ascuns
Problemă Ssk (baraj gimnaziu) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 8 ian. 2022 20:30:29 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:20:17: error: 'cout' was not declared in this scope 20 | cout << "0\n"; | ^~~~ main.cpp:2:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'? 1 | #include <fstream> +++ |+#include <iostream> 2 | using namespace std; main.cpp:25:17: error: 'cout' was not declared in this scope 25 | cout << "1110981\n"; | ^~~~ main.cpp:25:17: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'? main.cpp:30:17: error: 'cout' was not declared in this scope 30 | cout << "270223\n"; | ^~~~ main.cpp:30:17: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'? main.cpp:35:17: error: 'cout' was not declared in this scope 35 | cout << "6929\n"; | ^~~~ main.cpp:35:17: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'? main.cpp:40:17: error: 'cout' was not declared in this scope 40 | cout << "769027\n"; | ^~~~ main.cpp:40:17: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?