摘要:
题意: "题目链接" 给定 $n$ 个点,求距离最远的两个点之间的距离,输出最远距离的平方 $n include using namespace std; const int N=50005; int n,top,per[N],res; struct point{int x,y;int dist() 阅读全文
posted @ 2020-01-22 11:55
BILL666
阅读(105)
评论(0)
推荐(1)
摘要:
题意: "题目链接" 给一个$n$边形(凸多边形),再给出$m$个点,求有多少个点落在多边形内部(含边界),点的坐标均为整数$n,m using namespace std; const int N=1e5+5; int n,m,k,pos,mn=1e9,ans; struct point{long 阅读全文
posted @ 2020-01-22 09:31
BILL666
阅读(136)
评论(0)
推荐(1)

浙公网安备 33010602011771号