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:n==1特判了就错了。。为什么·

Posted by g33k at 2011-08-09 15:16:51 on Problem 3304
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:
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