- 博客(4)
- 收藏
- 关注
原创 场景二:参考代码C++
#include <iostream>#include <algorithm>#include <cstdio>#include <vector>#include <cmath>#define ll long longusing namespace std;const int N=1e5+10,mod=1e9+7,INF=0x3f3f3f3f;vector<int> G[N]; int l[N],r[N],pos[N.
2022-05-22 22:36:01 55
原创 场景三:CF1609E 参考代码C++
#include <bits/stdc++.h>#define ull unsigned long long#define ll long long#define P pair<int,int>#define pll pair<long,long>using namespace std;const int N=1e5+10,MAXN=5e3+10,mod=1e9+7,INF=0x3f3f3f3f;char s[N];//初始点->a->b-&.
2022-03-27 23:38:57 923
原创 场景一: POJ1151 参考代码C++
#include <cstdio>#include <iostream>#include <algorithm>using namespace std;const int maxn=2e5+10;struct node { int Left,Right,lazy; double val;}NODE[maxn<<2];double pos[maxn];void PushUp(int idx) { if (NODE[idx].lazy) N.
2022-03-27 23:31:35 694
原创 场景四:参考代码C++
#include <bits/stdc++.h>#define ll long longusing namespace std;const int INF=0x3f3f3f3f,N=1e5+10;;int rootx[N*20],ch[N*20][2],totx,toty,Lim,A[N],sum[N],rev[N];struct node { int Lrt,Rrt,Max;}NODE[N*20*20];void Update_y(int& y, int l, int.
2022-03-27 23:18:27 1691
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人