Problem | nostatement |
---|---|
User | YeoBL20 |
Submission Time | 2023-01-02 22:56:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
nostatement.cpp: In function ‘int32_t main()’:
nostatement.cpp:31:32: error: ‘cout’ was not declared in this scope
31 | for (int i = 0; i < m; i++) cout << s1[i] << ' ';
| ^~~~
nostatement.cpp:7:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
6 | #include <cstdlib>
+++ |+#include <iostream>
7 | using namespace std;
nostatement.cpp:33:3: error: ‘cout’ was not declared in this scope
33 | cout << '\n';
| ^~~~
nostatement.cpp:33:3: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?