| Problem | helloworld |
|---|---|
| User | AndyChen |
| Submission Time | 2026-02-06 13:55:19 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
helloworld.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
1 | #include iostream
| ^~~~~~~~
helloworld.cpp:2:20: error: expected ‘;’ before ‘int’
2 | using namespace std
| ^
| ;
3 | int main{
| ~~~
helloworld.cpp:3:5: error: cannot declare ‘::main’ to be a global variable
3 | int main{
| ^~~~
helloworld.cpp:4:1: 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:4:20: error: expected ‘}’ before ‘;’ token
4 | cout<<"Hello World";
| ^
helloworld.cpp:3:9: note: to match this ‘{’
3 | int main{
| ^
he