摘要:
链接:http://poj.org/problem?id=1127并查集+线段相交,除了混了一下,没什么难度View Code 1 #include<stdio.h> 2 #include<string.h> 3 #define N 20 4 #define min(x,y) (x<y?x:y) 5 #define max(x,y) (x>y?x:y) 6 int f[N]; 7 int n; 8 struct point 9 {10 int x,y;11 };12 struct segment13 {14 point p1,p2;15 };16 segme 阅读全文
posted @ 2012-05-06 16:49
zhenhai
阅读(185)
评论(0)
推荐(0)

浙公网安备 33010602011771号