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

orz!!!!开始时用高斯消元搞这题,要么溢出要么精度不够,后来换了您的方法就ac了 强烈ORZ神犇!!!!

Posted by xuhaoran510 at 2011-04-08 13:11:44 on Problem 1707
In Reply To:蛋疼方法过掉了…… Posted by:sandytea at 2011-04-08 10:24:51
> 两两作差,显然有:
> A(k+1)*(n^(k+1)-(n-1)^(k+1))+A(k)*(n^k-(n-1)^k)+...+A(1)*(n-(n-1))+A(0)*0=n^k
> 然后把括号内展开可以依次推出A(k+1),A(k),...
> 用这个方法蛋疼了一个小时终于AC了。

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