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 |
这题spj好邪啊,这两种写法有区别吗,一直wa的可以看看pt[n]=pt[0] for(int i=n;i;i--) ln[n-i]=Line(pt[i],pt[i-1]); for(int i=0;i<n;i++) ln[i]=Line(pt[i+1],pt[i]); spj好邪啊,上面两种写法第一种ac,第二wa的不能自理。 求半平面交,和线段顺序无关啊,只和线段方向有关啊。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator