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 |
1976怎么DP啊?请教大大们这题是怎么做的啊? 我的想法是首先每N个数相加得到一个和(N指的是一个火车头能够拉的最大的车厢数),保存在一个数组中然后从中选出三个数,并却这三个数的位置关系满足至少相差N个,这样求得一个最大值 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator