Problem minimise
User Phoubia01
Submission Time 2026-01-07 19:28:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimise.cpp: In function ‘int main()’:
minimise.cpp:19:45: error: expected ‘;’ before ‘}’ token
19 | ans += (n - 1 - idx + (k - 2)) / (k - 1)
| ^
| ;
20 |
21 | }
| ~