Borderou de evaluare (job #760965)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Comune (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 8 feb. 2024 17:28:02 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:18:5: error: 'cin' was not declared in this scope
18 | cin>>a>>b;
| ^~~
main.cpp:10:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
9 | #include <fstream>
+++ |+#include <iostream>
10 |
main.cpp:36:5: error: 'cout' was not declared in this scope
36 | cout<<cnt;
| ^~~~
main.cpp:36:5: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?