Problem park
User Kaveri78
Submission Time 2026-02-21 10:40:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

park.cpp: In function ‘int main()’:
park.cpp:82:55: error: expected ‘}’ at end of input
82 | int first_active = *active_ids.begin();
| ^
park.cpp:80:27: note: to match this ‘{’
80 | while (b > 0) {
| ^
park.cpp:82:55: error: expected ‘}’ at end of input
82 | int first_active = *active_ids.begin();
| ^
park.cpp:76:16: note: to match this ‘{’
76 | } else {
| ^
park.cpp:82:55: error: expected ‘}’ at end of input
82 | int first_active = *active_ids.begin();
| ^
park.cpp:55:46: note: to match this ‘{’
55 | for (int op_id = 1; op_id <= q; ++op_id) {
| ^
park.cpp: