Problem helloworld
User Ok
Submission Time 2023-06-08 17:50:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp: In function ‘int main()’:
helloworld.cpp:3:2: error: ‘string’ was not declared in this scope; did you mean ‘stdin’?
3 | string Hello = "Hello";
| ^~~~~~
| stdin
helloworld.cpp:4:8: error: expected ‘;’ before ‘World’
4 | string World = "World";
| ^~~~~~
| ;
helloworld.cpp:5:8: error: expected ‘;’ before ‘space’
5 | string space = " ";
| ^~~~~~
| ;
helloworld.cpp:6:8: error: expected ‘;’ before ‘exclamation_mark’
6 | string exclamation_mark = "!";
| ^~~~~~~~~~~~~~~~~
| ;
helloworld.cpp:8:2: error: ‘cout’ was not declared in this scope
8 | cout << Hello << space << World << exclamation_mark;
| ^~~~
helloworld.cpp:8:10: error: ‘Hello’ was not declared in this scope; did you mean ‘ftello’?
8 | cout << Hello << space << World << exclamation