摘要:
链接:http://poj.org/problem?id=1269题意:给两条直线,判断它们是重合、平行还是相交,相交则求交点。#include#include#include#includeusing namespace std;const double eps=1e-8;struct Point{ double x,y; Point(double x=0,double y=0):x(x),y(y) {}} p[4];typedef Point Vector;Vector operator + (Vector A,Vector B){ return Vector(A.x+B... 阅读全文
posted @ 2013-05-07 10:31
∑求和
阅读(214)
评论(0)
推荐(0)


浙公网安备 33010602011771号