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 |
证明很简单一种取牛方法相当于一个排序,在这个序列中只要有相邻两头牛顺序与比值关系搞反,就可以通过对调这两头牛来得到一个更优解,所以说只有全部按照比值关系的排序才是最优解。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator