- 博客(3)
- 资源 (1)
- 收藏
- 关注
原创 zoj 2381
# include # include int n,m,x1,x2,y1,y2;struct node{ int x,y;};struct li{ node a,b; int sum;}line[2509];int cross(node a,node b,node c){ return (b.x-a.x)*(c.y-a.y)-(c.x-a.x)*(
2014-04-29 22:23:18 562
原创 zoj 1041 水题
# include # include struct node{ double x,y;}vex[156];double x,y,r;double cross(node a,node b,node c){ return (b.x-a.x)*(c.y-a.y)-(c.x-a.x)*(b.y-a.y);}void solve(int n){ int sum=
2014-04-28 21:13:15 495
原创 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 468
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人