Problem | helloworld |
---|---|
User | jh2865 |
Submission Time | 2025-06-16 13:45:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
helloworld.cpp:1:2: error: invalid preprocessing directive #incldue; did you mean #include?
1 | #incldue <bits/stdc++.h>
| ^~~~~~~
| include
helloworld.cpp:2:20: error: expected ‘;’ before ‘int’
2 | using namespace std
| ^
| ;
3 | int main(){
| ~~~
helloworld.cpp: In function ‘int main()’:
helloworld.cpp:4:2: error: ‘cout’ was not declared in this scope
4 | cout << "Hello World" << endl;
| ^~~~
helloworld.cpp:1:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #incldue <bits/stdc++.h>
helloworld.cpp:4:27: error: ‘endl’ was not declared in this scope
4 | cout << "Hello World" << endl;
| ^~~~
helloworld.cpp:1:1: note: ‘std::endl’ is defined in heade