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 |
囧,表示这题蛋疼之处在于领跑的牛必须在整数时间退场……rt 虽然任意时间牛跑没力气了都可以走,但是领跑的牛在非整数分钟走了以后不能换新的,所以领跑的牛必须在整数分钟把自己的力气花完,因此需要DP出来,不能直接简单的用平方根算 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator