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
1439
. Battle with You-Know-Who
How you solve this problem?
Posted by
Alex Tolstov (Vologda STU)
25 Aug 2009 03:04
I solved this using Segment Tree with element indexing by HashMap / TreeMap in java.
Also I write AC solutions using Index Tree and Fenwick Tree.
Edited by author 28.08.2009 22:02
© 2000–2024
Timus Online Judge Team
. All rights reserved.