Problem helloworld
User Dhanvine
Submission Time 2023-07-13 09:31:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp: In function ‘int main()’:
helloworld.cpp:4:20: error: cannot convert ‘std::basic_ostream<char>’ to ‘int’ in return
4 | return std::cout << "Hello World"
| ~~~~~~~~~~^~~~~~~~~~~~~~~~
| |
| std::basic_ostream<char>
helloworld.cpp:4:36: error: expected ‘;’ before ‘}’ token
4 | return std::cout << "Hello World"
| ^
| ;
5 | }
| ~