Problem helloworld
User Chiarj
Submission Time 2024-06-24 13:59:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp:5:13: error: stray ‘\’ in program
5 | cout<<World\n";
| ^
helloworld.cpp:5:15: error: missing terminating " character
5 | cout<<World\n";
| ^~
helloworld.cpp: In function ‘int main()’:
helloworld.cpp:5:8: error: ‘World’ was not declared in this scope
5 | cout<<World\n";
| ^~~~~
helloworld.cpp:6:19: error: ‘a’ was not declared in this scope
6 | int a=5; cout << a;
| ^
helloworld.cpp:7:10: error: expected ‘;’ before ‘:’ token
7 | return 0:
| ^
| ;
helloworld.cpp:7:10: error: expected primary-expression before ‘:’ token