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:怎么老WA啊!!!测试正确的啊。

Posted by Emember at 2008-11-25 16:26:56 on Problem 1046
In Reply To:怎么老WA啊!!!测试正确的啊。 Posted by:fhyvenus at 2008-07-23 10:46:21
>if(min>=(abs(g-a[i])*abs(g-a[i])+abs(h-b[i])*abs(h-b[i])+abs(j-c[i])*abs(j-c[i])))
把 >= 改为 > 就对了。

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