Problem helloworld
User xintz
Submission Time 2025-08-01 13:31:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp: In function ‘int main()’:
helloworld.cpp:4:7: error: ‘cout’ is not a member of ‘std’
4 | std::cout << "Hello World"
| ^~~~
helloworld.cpp:2:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
1 | #include <stdio.h>
+++ |+#include <iostream>
2 |