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 |
一点证明In Reply To:原来是有规律的阿^_^ Posted by:noskill at 2005-03-27 10:12:23 1<=a[i+1]-a[i]<=2 题目要求不同大小,所以有 >=1 如果a[i+1]==a[i]+3,那么 他们的积可以表示为 a[i]^2+3*a[i],但实际上还有一种更好的分法,即 a[i]+1,a[i]+2,此时积为 a[i]^2+3*a[i]+2 > a[i]^2+3*a[i] Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator