Problem helloworld
User Rollsroyce26
Submission Time 2024-06-20 07:24:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
1 | #inclde <bits/stdc++.h>
| ^~~~~~
| include
helloworld.cpp: In function ‘int main()’:
helloworld.cpp:4:5: error: ‘cout’ was not declared in this scope
4 | 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 | #inclde <bits/stdc++.h>
helloworld.cpp:4:35: error: ‘endl’ is not a member of ‘std’
4 | cout << "Hello World" << std::endl;
| ^~~~
helloworld.cpp:1:1: note: ‘std::endl’ is defined in header ‘<ostream>’; did you forget to ‘#include <ostream>’?
+++ |+#include <ostream>
1 | #inclde <bits/stdc++.h>