http://poj.org/problem?id=2653Pick-up sticksTime Limit:3000MSMemory Limit:65536KTotal Submissions:9531Accepted:3517DescriptionStan has n sticks of var...
分类:
其他好文 时间:
2014-07-30 23:26:55
阅读次数:
282
Segment setProblem DescriptionA segment and all segments which are connected with it compose a segment set. The size of a segment set is the number of...
分类:
其他好文 时间:
2014-07-30 00:41:22
阅读次数:
409
Intersecting Lines
大意:给你两条直线的坐标,判断两条直线是否共线、平行、相交,若相交,求出交点。
思路:线段相交判断、求交点的水题,没什么好说的。
struct Point{
double x, y;
} ;
struct Line{
Point a, b;
} A, B;
double xmult(Point p1, Point...
分类:
其他好文 时间:
2014-06-24 21:16:40
阅读次数:
155