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:Re:再问这题的贪心算法 Posted by:nestle at 2005-05-26 17:46:13 先算出至少输多少次,设为m FOR X = M TO N 算出输X次最多能得多少分 (显然把田忌最次的X匹拉出来和齐王最好的比,其他的顺次排下来就行了) NEXT 加点剪支. > 能说得再详细一点么?谢谢... Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator