Problem helloworld
User ma
Submission Time 2026-02-28 11:17:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
1 | #include iostream
| ^~~~~~~~
helloworld.cpp:4:10: error: missing terminating " character
4 | cout << "Hello World';
| ^~~~~~~~~~~~~~
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';
| ^~~~
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:5:2: error: expected primary-expression before ‘}’ token
5 | }
| ^