Problem helloworld
User Zihan1304
Submission Time 2024-11-07 13:07:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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