摘要: int sgn(double x){ if (x>eps)return 1; if (x<-eps)return -1; return 0; } struct vec{ double x,y; vec(){x=y=0;} vec(double _x,double _y){x=_x,y=_y;} ve 阅读全文
posted @ 2021-04-09 22:57 yesuweiYYYY 阅读(43) 评论(0) 推荐(0) 编辑