Problem helloworld
User kenyber
Submission Time 2025-11-15 12:18:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp:1:2: error: invalid preprocessing directive #inclued; did you mean #include?
1 | #inclued <iostream>
| ^~~~~~~
| include
helloworld.cpp: In function ‘int main()’:
helloworld.cpp:4:7: error: ‘cout’ is not a member of ‘std’
4 | std::cout << "Hello World" << std:endl;
| ^~~~
helloworld.cpp:1:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #inclued <iostream>
helloworld.cpp:4:35: error: found ‘:’ in nested-name-specifier, expected ‘::’
4 | std::cout << "Hello World" << std:endl;
| ^
| ::
helloworld.cpp:4:36: error: ‘endl’ is not a member of ‘std’
4 | std::cout << "Hello World" << std:endl;
| ^~~~
helloworld.cpp