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 1028. Stars

could anyone give me some hand with splay tree??
Posted by godric 16 Sep 2006 20:57
I want to solve this problem with top-down splay tree but i don't know how to maintain the sum of the nodes' left subtree , could anyone tell me how to deal with it ? ?
Thanks very much ! !
Re: could anyone give me some hand with splay tree??
Posted by marius dumitran 13 Oct 2006 03:44
i implemented splay trees once for school thew were intersting.... but u would be better of with interval trees they are easier to implement and come in handy a lot