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:请问:这道题用二分+贪心可以么,郁闷总是WAIn Reply To:Re:请问:这道题用二分+贪心可以么,郁闷总是WA Posted by:ciciatc at 2005-02-24 00:01:47 > 计算每段走廊被占用的次数。然后找出被占用次数最多的。 直接GREEDY就好了. 在此之前,对移动的TABLE进行一次排序,按开始位置从小到大排序. Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator