Problem | veryeasyproblem |
---|---|
User | CastyLoz17 |
Submission Time | 2025-01-06 17:37:24 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
veryeasyproblem.cpp:1:6: error: ‘string’ in namespace ‘std’ does not name a type
1 | std::string input;std::getline(std::cin, input);std::cout << input;
| ^~~~~~
veryeasyproblem.cpp:1:1: note: ‘std::string’ is defined in header ‘<string>’; did you forget to ‘#include <string>’?
+++ |+#include <string>
1 | std::string input;std::getline(std::cin, input);std::cout << input;
veryeasyproblem.cpp:1:31: error: expected constructor, destructor, or type conversion before ‘(’ token
1 | std::string input;std::getline(std::cin, input);std::cout << input;
| ^
veryeasyproblem.cpp:1:54: error: ‘cout’ in namespace ‘std’ does not name a type
1 | std::string input;std::getline(std::cin, input);std::cout << input;
| ^~~~
veryeasyproblem.cpp:1:1: note: ‘std::cout’ is defined in header ‘<iostream>’; d