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 zzyzzy12 at 2010-11-28 16:34:42 on Problem 2606
In Reply To:WA了一次,注意斜率为0和无穷的情况、 Posted by:xiaobai1 at 2010-07-19 20:14:11
(rabbit[k][0]-rabbit[i][0])*(rabbit[j][1]-rabbit[i][1]))==((rabbit[k][1]-rabbit[i][1])*(rabbit[j][0]-rabbit[i][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