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:怎么做呢

Posted by hust07p43 at 2007-10-10 09:01:04 on Problem 2440 and last updated at 2007-10-10 09:03:21
In Reply To:Re:怎么做呢 Posted by:Methane at 2007-10-10 01:37:43
f(n)  =a1*f(n-1)+a2*f(n-2)+a3*f(n-3)
f(n-1)=   f(n-1)
f(n-2)=             f(n-2)

然后就有

f(n)         a1   a2   a3     f(n-1)
f(n-1)  =     1    0    0  *  f(n-2)
f(n-2)        0    1    0     f(n-3)

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