Problem segmenttreebeats
User ZhongDing
Submission Time 2023-12-20 11:21:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

segmenttreebeats.cpp:8:24: error: expected identifier before numeric constant
8 | ios::sync_with_stdio(0);
| ^
segmenttreebeats.cpp:8:24: error: expected ‘,’ or ‘...’ before numeric constant
segmenttreebeats.cpp:8:25: error: ISO C++ forbids declaration of ‘sync_with_stdio’ with no type [-fpermissive]
8 | ios::sync_with_stdio(0);
| ^
segmenttreebeats.cpp:8:25: error: cannot declare member function ‘std::basic_ios<char>::sync_with_stdio’ within ‘node’
segmenttreebeats.cpp:9:3: error: ‘cin’ does not name a type; did you mean ‘sin’?
9 | cin.tie(0);
| ^~~
| sin
segmenttreebeats.cpp:10:3: error: ‘cout’ does not name a type
10 | cout.tie(0);
| ^~~~