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:那个程序有一个不太明显的错误 Posted by:number at 2006-03-23 00:14:30 > //循环从n到1所以tt[]的总和总是大于best[],因此在fish = max_fish时, > //第一个不相同的值tt[i] 必然大于 best[i], 为什么呀? tt[1,...,i-1]==best[1,...,i-1], tt[i]<best[i], tt[i+1,...,n]>best[i+1,...,n] 这样的情况不可能出现? Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator