删掉没用的

This commit is contained in:
ljcjames 2022-08-12 16:49:09 +08:00
parent 8ef2e29769
commit 949a28d828
1 changed files with 1 additions and 9 deletions

View File

@ -1,13 +1,10 @@
//²Î¿¼±ðÈ赀 //²Î¿¼±ðÈ˵Ä
#include <iostream>
#include <cmath> #include <cmath>
#include <cstdio> #include <cstdio>
#include <algorithm> #include <algorithm>
#include<stack>
using namespace std; using namespace std;
const double pi=acos(-1.00),eps = 1e-8;//pi3.14~ const double pi=acos(-1.00),eps = 1e-8;//pi3.14~
const int N=1005,inf=0x3f3f3f3f; const int N=1005,inf=0x3f3f3f3f;
double ans=0;
int q[N],n; int q[N],n;
struct Point{ struct Point{
double x,y; double x,y;
@ -27,16 +24,11 @@ struct Point{
return a.y<b.y; return a.y<b.y;
} }
}p[N]; }p[N];
//stack<int>s;
int sign(double d) int sign(double d)
{ {
if(fabs(d)<eps) return 0; if(fabs(d)<eps) return 0;
return d>0? 1:-1; return d>0? 1:-1;
} }
//double cross(double x1, double y1, double x2, double y2)
//{
// return x1 * y2 - x2 * y1;
//}
double dist(Point a,Point b) double dist(Point a,Point b)
{ {
Point c=a-b; Point c=a-b;
@ -70,7 +62,7 @@ double Graham()
} }
int main() int main()
{ {
int l,minn=1,f,ff,x0,x1,x2,y1,y2,y0; int l;
scanf("%d%d",&n,&l); scanf("%d%d",&n,&l);
for(int i=1;i<=n;i++) for(int i=1;i<=n;i++)
{ {