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

double也行啊,一般int不够用__int64的啊

Posted by hawk at 2004-07-18 18:06:45 on Problem 1701
In Reply To:终于ac了这题,搞了半天,真是弱啊:( Posted by:gz2001 at 2004-07-18 18:04:58
> 不知道有人是不是用O(n^2)的算法过的,我不敢用
> 开始想了一个二分,wa了
> 然后发现可以在O(n)时间作出来,开始用int存,还是wa
> wa了3次才改成double类型,这才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