Problem helloworld
User WangZhenxuan1
Submission Time 2025-07-08 10:21:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp:4:26: error: expected constructor, destructor, or type conversion before ‘(’ token
4 | ios_base::sync_with_stdio(false);
| ^
helloworld.cpp:5:1: error: ‘cin’ does not name a type; did you mean ‘sin’?
5 | cin.tie(nullptr);
| ^~~
| sin
helloworld.cpp:6:1: error: ‘cout’ does not name a type
6 | cout.tie(nullptr);
| ^~~~
helloworld.cpp:8:1: error: ‘cout’ does not name a type
8 | cout << "Hello World";
| ^~~~
helloworld.cpp:10:1: error: expected unqualified-id before ‘return’
10 | return 0;
| ^~~~~~