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

Compile Error

garden_ioi05.cpp: In function ‘int main()’:
garden_ioi05.cpp:88:5: error: ‘set’ was not declared in this scope
88 | set<pair<int, int>> active; // {l1, l2} of rectangles currently active
| ^~~
garden_ioi05.cpp:6:1: note: ‘std::set’ is defined in header ‘<set>’; did you forget to ‘#include <set>’?
5 | #include <climits>
+++ |+#include <set>
6 |
garden_ioi05.cpp:88:22: error: expected primary-expression before ‘>’ token
88 | set<pair<int, int>> active; // {l1, l2} of rectangles currently active
| ^~
garden_ioi05.cpp:88:25: error: ‘active’ was not declared in this scope; did you mean ‘ctime’?
88 | set<pair<int, int>> active; // {l1, l2} of rectangles currently active
| ^~~~~~
| ctime
garden_ioi05.cpp:108:67: error: ‘active_rects_indices’ was not declared i