ENG
RUS
Timus 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
2014
. Zhenya moves from parents
Are there another solution?
Posted by
scidylanpno
7 May 2019 11:06
My solution is O(NlogN),but I thought there may be some solutions use only O(N) time, thank you for your sharing!
© 2000–2024
Timus Online Judge Team
. All rights reserved.