you all know that creat2012 will go to a regional. and i want you all pray for us. thx.
for this problem, you need judge if two segments is intersection(相交的). if intersect(相交), print yes and the point. else print no.
easy ? ac it.
you all know that creat2012 will go to a regional. and i want you all pray for us. thx.
for this problem, you need judge if two segments is intersection(相交的). if intersect(相交), print yes and the point. else print no.
easy ? ac it.
T <= 100 cases
8 real numbers (double)
promise two segments is no coincidence.
no
or yes and two real number (one decimal)
2
0 0 2 2 1 0 3 2
0 0 2 2 0 2 2 0
no
yes 1.0 1.0
不会出现线段重合的情况。
Anything about this OnlineJudge, Please Contact Administrator. Click add QQ
OJ system based on HUSTOJ Project , UI based on Twitter Bootstrap
Copyright 2016 ACM算法攻关部cnt: 5551
关于网站改版