Problem harddisk
User LiuZq
Submission Time 2025-01-09 22:20:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

harddisk.cpp: In function ‘int main()’:
harddisk.cpp:36:15: error: expected primary-expression at end of input
36 | if (s <=
| ^~
harddisk.cpp:36:17: error: expected ‘)’ at end of input
36 | if (s <=
| ~ ~~^
| )
harddisk.cpp:36:15: error: expected statement at end of input
36 | if (s <=
| ^~
harddisk.cpp:36:15: error: expected ‘}’ at end of input
harddisk.cpp:28:48: note: to match this ‘{’
28 | for (int m = 0; m < (1 << (n - mid)); m++) {
| ^
harddisk.cpp:36:15: error: expected ‘}’ at end of input
36 | if (s <=
| ^~
harddisk.cpp:5:12: note: to match this ‘{’
5 | int main() {
| ^