Get Mystery Box with random crypto!

https://ru.algorithmica.org/cs/decomposition/scanline/ Способ | Leetcode KZ

https://ru.algorithmica.org/cs/decomposition/scanline/
Способ решения задачи #3 на контесте 310