Borderou de evaluare (job #730197)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Bmedia (clasa a 9-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 29 aug. 2023 11:22:56 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:8:5: error: 'cin' was not declared in this scope
8 | cin>>n;
| ^~~
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:17:9: error: 'cout' was not declared in this scope
17 | cout<<n;
| ^~~~
main.cpp:17:9: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:28:9: error: 'cout' was not declared in this scope
28 | cout<<m;
| ^~~~
main.cpp:28:9: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:39:9: error: 'cout' was not declared in this scope
39 | cout<<m;
| ^~~~
main.cpp:39:9: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:50:9: error: 'cout' was not declared in this scope
50 | cout<<m;
| ^~~~
main.cpp:50:9: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:61:9: error: 'cout' was not declared in this scope
61 | cout<<m;
| ^~~~
main.cpp:61:9: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:72:9: error: 'cout' was not declared in this scope
72 | cout<<m;
| ^~~~
main.cpp:72:9: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:83:9: error: 'cout' was not declared in this scope
83 | cout<<m;
| ^~~~
main.cpp:83:9: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:94:9: error: 'cout' was not declared in this scope
94 | cout<<m;
| ^~~~
main.cpp:94:9: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:98:5: error: 'cout' was not declared in this scope
98 | cout<<m;
| ^~~~
main.cpp:98:5: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?