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 |
大概思路是这样的In Reply To:Re:刚刚写了一个线段树,确实30msAC...... Posted by:dxm at 2005-05-10 14:15:09 线段树的节点纪录从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