摘要:
前置 struct point { //存储点 double x,y; }; double cross(double x1,double y1,double x2,double y2){ //计算叉积 return (x1*y2-x2*y1); } double compare(point a,po 阅读全文
posted @ 2021-06-05 18:40
棉被sunlie
阅读(142)
评论(0)
推荐(0)
摘要:
#include <bits/stdc++.h> using namespace std; inline __int128 read() { __int128 x=0,f=1; char ch=getchar(); while(ch<'0'||ch>'9') { if(ch=='-') f=-1; 阅读全文
posted @ 2021-06-05 18:33
棉被sunlie
阅读(151)
评论(0)
推荐(0)
摘要:
题链 退火法 #include <iostream> #include<cstdio> #include<algorithm> #include<cstring> #include<cmath> #define eps 1e-7 #define MS 50 using namespace std; 阅读全文
posted @ 2021-06-05 18:20
棉被sunlie
阅读(29)
评论(0)
推荐(0)
摘要:
题链 #include<bits/stdc++.h>//O(n),最小圆覆盖 #define eps 1e-12 using namespace std; int n,m; struct node { double x, y; } s[500005]; node o;//圆心坐标 double ri 阅读全文
posted @ 2021-06-05 18:11
棉被sunlie
阅读(45)
评论(0)
推荐(0)

浙公网安备 33010602011771号