| Problem | hello |
|---|---|
| User | Random52 |
| Submission Time | 2024-12-02 10:16:06 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
hello.cpp: In function ‘int main()’:
hello.cpp:13:16: error: expected primary-expression before ‘,’ token
13 | std::cout <, "Hello " << s << '!';
| ^
hello.cpp:13:27: error: no match for ‘operator<<’ (operand types are ‘const char [7]’ and ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’})
13 | std::cout <, "Hello " << s << '!';
| ~~~~~~~~ ^~ ~
| | |
| | std::string {aka std::__cxx11::basic_string<char>}
| const char [7]
In file included from /usr/include/c++/9/bits/basic_string.h:48,
from /usr/include/c++/9/string:55,
from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/ios_base.h:41,
from /usr/include/c++/9/ios:42,
from /usr/include/c