
旋转卡壳
stargazer.
夜を穿つの
展开
-
【BZOJ1069】【SCOI2007】—最大土地面积(凸包+旋转卡壳)
传送门 考虑枚举任意222个点,那么只需要枚举第二个点的时候旋转卡壳就可以O(n)O(n)O(n)得到最远点对了 #include<bits/stdc++.h> using namespace std; inline int read(){ char ch=getchar(); int res=0,f=1; while(!isdigit(ch)){if(ch=='-')f=-f;...原创 2019-02-21 22:03:09 · 171 阅读 · 0 评论 -
【BZOJ1185】【HNOI2007】最小矩形覆盖(凸包+旋转卡壳)
传送门 求最小矩阵覆盖原创 2019-02-22 07:42:03 · 200 阅读 · 0 评论