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:将500000001改成 656043856 就ok了In Reply To:Re:将500000001改成 656043856 就ok了 Posted by:2004055101 at 2006-09-29 20:38:09 当n为偶数时 a[n]=a[n-1]*2+a[n-2]*a[1]+a[n-3]*a[3]+...+a[1]*a[n-2] n为奇数时 a[n]=a[n-1]*2+a[n-2]*a[1]*2+..+a[n/2+1]*a[n/2-1]*2+a[n/2]*a[n/2] 其中a[n]表示深度为n的树有几个。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator