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

半平面交WA的同学们注意了~~

Posted by INFINITE_Li at 2009-08-18 01:05:36 on Problem 1755
对于ax + by < c,
1.a == b == 0的情况是一定要考虑的
2.根据实现的不同可能要考虑a == 0或b == 0的情况
3.最后检查面积是否为0的时候eps一定要小……常用的1e-8/-9不行..我开到-16才AC的...

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