Problem helloworld
User manfacenathan
Submission Time 2026-05-26 16:13:48
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
3 | string a = "Hello World"
| ^~~~~~
helloworld.cpp:1:1: note: ‘std::string’ is defined in header ‘<string>’; did you forget to ‘#include <string>’?
+++ |+#include <string>
1 | using namespace std;