Problem helloworld
User Magenta
Submission Time 2026-06-22 16:10:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp: In function ‘int main()’:
helloworld.cpp:4:10: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
4 | int h = "Hello World"
| ^~~~~~~~~~~~~
| |
| const char*
helloworld.cpp:5:2: error: expected ‘,’ or ‘;’ before ‘cin’
5 | cin >> h;
| ^~~