Problem helloworld
User xintz
Submission Time 2024-02-03 20:58:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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