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

你能不能去掉那些#ifdef DEBUG……看着头晕

Posted by frkstyc at 2006-03-22 22:56:22 on Problem 2236
In Reply To:Re:SQ(computer[i].x-computer[p].x)+SQ(computer[i].y-computer[p].y))<=d,d也要平方吧,还有要小心溢出 Posted by:lala_lala at 2006-03-22 22:55:03
> d已经平方过了。
> x,y的坐标最大是10000
> x^2+y^2最大也就是10000^2+10000^2 好像没有溢出
> 
> 
> frkstyc:能帮我看下是不是逻辑上有什么错吗?

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