Problem helloworld
User RandomPerson
Submission Time 2024-10-27 18:24:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp: In function ‘int main()’:
helloworld.cpp:1:42: error: ‘cout’ is not a member of ‘std’
1 | int main(){if("potato" == "potato"){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 | int main(){if("potato" == "potato"){std::cout << "Hello World";}}