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 o_oand0_0 at 2008-05-23 20:02:58 on Problem 2696
In Reply To:迭代即可 Posted by:hf8171038 at 2007-08-02 12:08:29
> if(k%2==1)
>    F=((d*f2+e*f1-f*f0)%g+g)%g;
> else
>    F=((f*f2-d*f1+e*f0)%h+h)%h;
> f0=f1;f1=f2;f2=F;

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