Problem helloworld
User laffey0401
Submission Time 2026-06-22 15:48:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp: In function ‘int main()’:
helloworld.cpp:2:1: error: ‘string’ was not declared in this scope
2 | string a = "Hello World";
| ^~~~~~
helloworld.cpp:3:1: error: ‘cout’ was not declared in this scope
3 | cout << a;
| ^~~~
helloworld.cpp:3:9: error: ‘a’ was not declared in this scope
3 | cout << a;
| ^