Problem helloworld
User dl2704
Submission Time 2023-11-08 09:31:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp: In function ‘int main()’:
helloworld.cpp:3:9: error: ‘cout’ is not a member of ‘std’
3 | 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 | int main(){
helloworld.cpp:4:10: error: expected ‘;’ before ‘}’ token
4 | return 0
| ^
| ;
5 | }
| ~