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

你第一种方法计算时中间结果超整形了,所以会出错,而第二种分开写没超整形,所以不会出错。

Posted by Kevin0602 at 2008-09-25 23:31:43 on Problem 1925
In Reply To:大牛们,问个让我郁闷很有的问题 Posted by:ccnuzhang at 2008-08-29 17:45:32
建议把h设为double型,直接代人第一种方法计算

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