Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:将500000001改成 656043856 就ok了

Posted by a024014 at 2007-04-07 15:05:23 on Problem 1095
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator