Problem helloworld
User Yanjun22
Submission Time 2024-07-08 13:49:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp:6:16: error: stray ‘\’ in program
6 | cout << Worlds\n";
| ^
helloworld.cpp:6:18: error: missing terminating " character
6 | cout << Worlds\n";
| ^~
helloworld.cpp:2:20: error: expected ‘;’ before ‘int’
2 | using namespace std
| ^
| ;
3 |
4 | int main() {
| ~~~
helloworld.cpp: In function ‘int main()’:
helloworld.cpp:6:10: error: ‘Worlds’ was not declared in this scope
6 | cout << Worlds\n";
| ^~~~~~
helloworld.cpp:7:19: error: expected unqualified-id before ‘<<’ token
7 | int a =5; cout. << a;
| ^~
helloworld.cpp:7:22: error: ‘a’ was not declared in this scope
7 | int a =5; cout. << a;
| ^
helloworld.cpp:9:14: error: expected ‘}’ at end of input