per_learning
per_learning
全部文章
分类
题解(6)
归档
标签
去牛客网
登录
/
注册
per_learning的博客
全部文章
(共6篇)
题解 | #Contracting Convex Hull#
借用了逆十字的代码,然后加入了自己的一些理解。 #include<bits/stdc++.h> using namespace std; const int N=100005; #define PII pair<int,int> // #define x first ...
线段树
扫描线
思维
2021-08-04
0
0
题解 | #Contracting Convex Hull#
include<bits/stdc++.h> using namespace std;typedef long long ll;const int N=2e5+10,mod=1e9+7; define PII pair<ll,ll> define x first define...
2021-08-02
2
0
题解
https://editor.csdn.net/md?not_checkout=1&articleId=113444369
2021-01-30
0
0
不平行的直线
#include<bits/stdc++.h> using namespace std; const int N=100003; int n,k=1,f; double x[N],y[N],z[N]; int main() { cin>>n; for(i...
2020-05-27
1
0
2020年牛客算法入门课练习赛1 E题题解
#include<bits/stdc++.h> using namespace std; int getMinSwaps(vector<int> v) { vector<int> v1(v); //将A内元素复制到B。 sort(v1.beg...
2020-05-27
0
0
2020年牛客算法入门课练习赛1 A题题解
#include<iostream> #include<algorithm> using namespace std; const int maxn=5000005; int a[maxn]; void quickSelect(int a[],int l,int r,int ...
2020-05-27
0
0