| ||||||||||
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:n==1特判了就错了。。为什么·In Reply To:Re:n==1特判了就错了。。为什么· Posted by:g33k at 2011-08-09 15:08:32 > 因为如果只有一条线段,那么这条线段在任何一条直线的投影线段不会与其它任何一条线段的投影线段有任何的公共点。 我错了,好像n==1是输出yes。或许你的代码有其它问题,比如发现n==1的时候就没读点的坐标就输出yes而转向下一组数据。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator