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:错了两个地方,循环结束时i的值是13而不是12,还有结果不用加0.5

Posted by omepu at 2006-01-04 17:48:18 on Problem 1004
In Reply To:错了两个地方,循环结束时i的值是13而不是12,还有结果不用加0.5 Posted by:zhucheng at 2006-01-04 17:12:41
是12是因为i值初值是 1

加0.05是因为要求四舍五入。

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