|
|
вернуться в форумEasy problem Послано Anton 13 июл 2021 18:37 Use scanline and sort events by right border abd after that just count segments that their l > now so after this make now = r, ans++; firstly ans = 0 and now = 0; Sorry for my English i'm from Russia |
|
|