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

不卡精度!!

Posted by javawin at 2011-05-12 21:17:07 on Problem 1375
不要以为什么卡精度,,其实不卡!!排序的时候直接
if(x==T.x)
return y<T.y
return x<T.x
直接这样就行了。。。不要搞什么eps=1e-8我就一直在这儿WA了!!!

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