自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

原创 最小圆覆盖——模板题

#include const int maxn = 1005;struct TPoint{ double x, y; TPoint operator - (const TPoint &a) const { TPoint p1; p1.x = x - a.x; p1.y = y - a.y; return p1; }};struct TCircle{ doubl

2015-11-24 17:07:43 495

原创 半平面求交——点在凸包外

#include using namespace std;const int maxn = 50010;const double EPS = 1e-8;struct Point{ double x, y;};Point p[maxn];struct Line{ Point a, b;};Line l[maxn], st[maxn];int n;double opera

2015-11-21 11:25:39 687

原创 半平面求交——放置守卫

#include //using namespcace std;const int maxn = 1510;const double EPS = 1E-12;struct Point{ double x, y;};Point convex[maxn];struct Line{ Point a, b; double ang;};Line l[maxn], st[maxn]

2015-11-21 10:04:47 393

原创 二维几何常用模板

#include using namespace std;struct Point{ double x, y; Point(double x = 0, double y = 0): x(x), y(y) {}};typedef Point Vector;Vector operator +(Vector A, Vector B)//{ return Vector(A.x + B.

2015-11-04 21:23:05 378

原创 LA 1453 旋转卡壳

#include using namespace std;struct Point{ double x, y; Point(double x = 0, double y = 0): x(x), y(y) {}};typedef Point Vector;int Cross(Vector A, Vector B){ return A.x * B.y - A.y * B.x;}

2015-11-04 21:18:20 290

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除