
hdu 几何
xws117123
微博地址 http://weibo.com/2139773423/profile?rightmod=1&wvr=6&mod=personinfo
展开
-
hdu 1558
# include # include using namespace std; int num[1010],pre[1010]; char s[5]; struct point { double x,y; }; struct Edge { point a,b; }E[1010]; int onseg(point a,point b,point c) { return c.x=min(原创 2013-12-23 10:50:26 · 586 阅读 · 0 评论 -
zoj 1453
# include # include # include using namespace std; struct node { double x,y; }vex[109],ans[109]; int cmp(node a ,node b) { if(a.x==b.x) return a.y<b.y; else return a.x<b原创 2014-04-27 11:18:54 · 491 阅读 · 0 评论