|
|
вернуться в форумWonderful problem Послано vgu 2 ноя 2008 03:56 Big thanks to author. This is my favourite problem ;) Re: Wonderful problem Послано svr 15 ноя 2008 12:13 This is Dynamic BD problem. What structers are used? I used set<pair(money,numer)>(red-black tree) and finding,deleteng and inserting of data on each milliarders going, but of course there is more effective solution. Re: Wonderful problem SegmentTree did the trick for me |
|
|