Problem helloworld
User AdwinLau
Submission Time 2024-03-26 10:33:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp: In function ‘int main()’:
helloworld.cpp:4:2: error: ‘cout’ was not declared in this scope
4 | {cout <<"Hello World">> endl;
| ^~~~
helloworld.cpp:2:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
1 | #include <ostream>
+++ |+#include <iostream>
2 | using namespace std;