摘要: 向量定义及运算 typedef double DB; const DB eps = 1e-12; int sgn(DB x) { return fabs(x) < eps ? 0 : (x > 0 ? 1 : -1); } // 精度判断 struct Point { // 点的定义,也可看作向量 阅读全文
posted @ 2020-07-29 11:07 AC-Evil 阅读(159) 评论(0) 推荐(0) 编辑