Codeforces Global Round 7E (сегмент дерева, жадный)

NoSuchKey

рекомендация

отwww.cnblogs.com/ldudxy/p/12554901.html