Borderou de evaluare (job #599371)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Crioac (clasa a 5-a) | Compilator | cpp-32 |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 30 mai 2021 12:52:47 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:9:5: error: 'cin' was not declared in this scope
9 | cin>>n>>x>>y;
| ^~~
main.cpp:2:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
1 | #include <fstream>
+++ |+#include <iostream>
2 |
main.cpp:25:9: error: 'cout' was not declared in this scope
25 | cout<<oc<<'\n';
| ^~~~
main.cpp:25:9: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:26:10: error: 'cout' was not declared in this scope
26 | else cout <<sc<<'\n';
| ^~~~
main.cpp:26:10: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:27:5: error: 'cout' was not declared in this scope
27 | cout<<r;
| ^~~~
main.cpp:27:5: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?