Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:link(a, b)和link(c, d)可能相交的条件是什么?In Reply To:link(a, b)和link(c, d)可能相交的条件是什么? Posted by:temp_ptr at 2011-11-08 21:31:57 > return (a-c)*(b-c)*(a-d)*(b-d) < 0;对吗? WA了4小时,终于找到问题了,上面这个4个数相乘会int 溢出,心情都没了,吃一堑涨一智吧 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator