Problem helloworld
User yikai
Submission Time 2026-02-11 17:57:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp: In function ‘int main()’:
helloworld.cpp:3:7: error: ‘cout’ is not a member of ‘std’
3 | std::cout<<"Hello world"<<std::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 | int main(){