Problem | eeducation |
---|---|
User | HappyCoding |
Submission Time | 2024-06-28 14:35:20 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
eeducation.cpp: In function ‘int main()’:
eeducation.cpp:9:5: error: ‘cin’ was not declared in this scope
9 | cin >> N >> M;
| ^~~
eeducation.cpp:4:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
3 | #include <algorithm>
+++ |+#include <iostream>
4 |
eeducation.cpp:39:9: error: ‘cout’ was not declared in this scope
39 | cout << result[i];
| ^~~~
eeducation.cpp:39:9: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
eeducation.cpp:44:5: error: ‘cout’ was not declared in this scope
44 | cout << endl;
| ^~~~
eeducation.cpp:44:5: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
eeducation.cpp:44:13: error: ‘endl’ was not declared in this scope
44 | cout <