| ||||||||||
| 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:Garcia-Wachs的combine(),这样理解。In Reply To:Garcia-Wachs的combine(),这样理解。 Posted by:gzw_02 at 2008-07-18 14:59:43 连续非递增区间的长度有什么限制吗?
比如3 4 2
如果{3}算一个连续非递增区间的话
{3,4}就是搜索区间,作业做出来是(3+4)+(7+2)=16
但如果先{4,2}则答案是(4+2)+(3+6)=15 更优
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator