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 1424. Minibus

How to improve?
Posted by luckysundog 27 Feb 2011 22:30
Stupid O(M*K) solution works about 0.421s (modified "greedy activity selector").
But i heard about segment_tree/heap solutions - i can't understand what are they speaking about. How to improve O(M*K) ?