Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:大概思路是这样的In Reply To:大概思路是这样的 Posted by:TN at 2005-05-10 14:37:36 我想的是记录已经出现多少个,复杂度都会升高吗? > 线段树的节点纪录从l..r中还有多少没有出现 > 从后往前推 > 第i个人就是从1..n中还未出现的第Ai+1个 > Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator