Problem garden_ioi05
User avner21
Submission Time 2024-09-15 06:59:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

garden_ioi05.cpp: In function ‘int main()’:
garden_ioi05.cpp:104:67: error: ‘active_rects_indices’ was not declared in this scope
104 | int total_perimeter = rect.perimeter + rectangles[active_rects_indices[{l1_active, l2_active}]].perimeter;
| ^~~~~~~~~~~~~~~~~~~~
garden_ioi05.cpp:111:13: error: ‘active_rects_indices’ was not declared in this scope
111 | active_rects_indices[{rect.l1, rect.l2}] = idx;
| ^~~~~~~~~~~~~~~~~~~~
garden_ioi05.cpp:115:13: error: ‘active_rects_indices’ was not declared in this scope
115 | active_rects_indices.erase({rect.l1, rect.l2});
| ^~~~~~~~~~~~~~~~~~~~