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

RB tree
Posted by muhammad 14 Jul 2010 19:46
AC with RB tree(.046 sec 125kb). possible to solve with
TREAP:BST too.

Please somebody explain me the BIT method.
Re: RB tree
Posted by MarioYC 5 Nov 2010 12:44
For the BIT method you just have to think about the right order to add the stars.