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:用nlogn的排序的WA的注意了!~

Posted by kuailezhish at 2012-04-29 22:14:02 on Problem 2451 and last updated at 2012-04-29 22:14:39
In Reply To:用nlogn的排序的WA的注意了!~ Posted by:FuckYouFuckingMe at 2011-12-27 19:50:15
> 注意判断两个座椅重合却朝向相反的情况!遇到这种情况可以直接
> puts("0.0");exit(0);

点少于3个的时候就不能用叉积求面积了,而是0.0。参考下。

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