Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

膜拜众神牛.........本小菜没想到可以倒着插入.......于是直接用平衡二叉树来模拟了....

Posted by Akai at 2010-01-24 09:53:29 on Problem 2828
RT...............
扔了个Treap上去........然后维护一个“子节点数”的域,插入时按照这个域进行插入..没想到1A..........膜拜所有用线段树AC的神牛!!!!!

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator