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 jiangjiang at 2006-08-10 15:45:03 on Problem 2680
In Reply To:找到了递推关系的规律,但找不到合理的解释,谁来解释一下? Posted by:yiyiyi4321 at 2005-11-05 10:29:52
for(i=3;i<=1000;i++){
		zero[i]=zero[i-1]+one[i-1];
		if(i%2==0)
			zero[i]++;
		one[i]=zero[i-1]+one[i-1];
	}

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