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 |
我的思路是这样的,大家看对不对?根据dp原理,把问题规模缩小到1,然后从1开始算起,把剩下所有的候选人都遍历一遍,选出最优,然后再做一知道n为止(n是题目要求的人数) Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator