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 lddlinan at 2021-03-09 20:49:56 on Problem 3875
In Reply To:简单公式 Posted by:lddlinan at 2021-03-09 17:46:21
> 如果v>0 f(0)=0 否则 f(0)=1
> f(1)=1
> f(n) = (C(2**n, n-1)-f(n-2)*(2**n-(n-2)))/n

手残,更正一下
f(m) = (C(2**n, m-1)-f(m-2)*(2**n-(m-2)))/m



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