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:59:54 on Problem 1004
In Reply To:错了两个地方,循环结束时i的值是13而不是12,还有结果不用加0.5 Posted by:zhucheng at 2006-01-04 17:12:41
谢谢,找到了。也是i这个变量的毛病,

退出来的时候i已经等于13了,结果当然错了。呵呵

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