计算几何
丿Smile灬晨星
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
hdu4498 数值积分
写了个牛顿-科茨积分模板,然后求出抛物线再[0,100]之间的所有交点分段积分。ACcode:#include#include#include#include#include#include#includeusing namespace std;typedef long long LL;typedef double db;const int NS=原创 2013-09-11 23:03:14 · 1386 阅读 · 0 评论 -
任意三点求圆心算法
已知:startPoint、secondPoint、endPoint(不分先后)求:圆心坐标解:var tempA1,tempA2,tempB1,tempB2,tempC1,tempC2,temp,x,y;tempA1=startPoint.x-secondPoint.x; tempB1=startPoint.y-secondPoint.y;tempC1=(Math.pow转载 2014-10-18 23:02:43 · 7406 阅读 · 0 评论 -
Codeforces598C(极角排序)
先占坑ACcode://#pragma comment(linker, "/STACK:1024000000,1024000000")#include#include#include#include#include#include#include#include#include#include#include#includeusing namespace std;原创 2015-11-15 21:30:21 · 1024 阅读 · 0 评论
分享