Problem helloworld
User Tianrui
Submission Time 2024-03-18 16:29:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp:1:6: error: ‘cout’ in namespace ‘std’ does not name a type
1 | std::cout << "Hello World";
| ^~~~
helloworld.cpp:1:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | std::cout << "Hello World";