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 |
感觉像一种递推, 纵向是差为递增数列的数列,第一项是n*(n-1)/2, 横向是差为1 的等差数列,递推结束条件是找到m跳出,或是未找到,约束条件是构成几组平行线的直线数小于nIn Reply To:dp Posted by:frkstyc at 2005-07-25 01:10:04 感觉像一种递推, 纵向是差为递增数列的数列,第一项是n*(n-1)/2, 横向是差为1 的等差数列,每横向推一步平行线组数加1;递推结束条件是找到m跳出,或是未找到,约束条件是构成几组平行线的直线数小于n; 这个想法对么? Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator