ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1987. Nested Segments

Good problem.
Posted by silverfox 17 May 2022 11:31
Sort the intervals by length. and from i=0 to no_of_intervals, mark the query numbers.
Make sure that each query number is marked by only one interval.

Edited by author 17.05.2022 11:32