Problem helloworld
User calculatedcode
Submission Time 2024-03-24 10:23:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp:1:1: error: ‘include’ does not name a type
1 | include <iostream>
| ^~~~~~~
helloworld.cpp: In function ‘int main()’:
helloworld.cpp:5:7: error: ‘cout’ is not a member of ‘std’
5 | 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 | include <iostream>
helloworld.cpp: At global scope:
helloworld.cpp:8:1: error: expected unqualified-id before ‘return’
8 | return 0;
| ^~~~~~