摘要:
题目跳转 以下三种方式按速度快慢排序 旋转treap(8.59s) #include<bits/stdc++.h> using namespace std; typedef int ll; uint8_t buf[1<<20],*p1,*p2; #define gc() (p1==p2&&(p2=( 阅读全文
posted @ 2026-11-09 11:53
beiciqi
阅读(2)
评论(0)
推荐(0)
摘要:
题目跳转 #include<bits/stdc++.h> using namespace std; typedef long long ll; string a,b,s; ll n,m,k,pp,ans1,ans2,z[40000005]; int main(){ ios::sync_with_st 阅读全文
posted @ 2026-11-09 11:41
beiciqi
阅读(2)
评论(0)
推荐(0)
摘要:
题目跳转 #include<bits/stdc++.h> using namespace std; typedef long long ll; const ll maxn=2e6+5; queue<ll> q; ll n,cnt1,cnt2,mp[maxn],head[maxn]; struct n 阅读全文
posted @ 2026-11-09 11:40
beiciqi
阅读(1)
评论(0)
推荐(0)
摘要:
题目跳转 #include<bits/stdc++.h> #define ls (p<<1) #define rs ((p<<1)+1) using namespace std; typedef int ll; typedef long long lll; uint8_t buf[1<<20],*p 阅读全文
posted @ 2026-11-09 11:39
beiciqi
阅读(1)
评论(0)
推荐(0)
摘要:
题目跳转 以下三种方法以速度快慢排序 旋转treap(157ms) #include<bits/stdc++.h> using namespace std; typedef int ll; uint8_t buf[1<<20],*p1,*p2; #define gc() (p1==p2&&(p2=( 阅读全文
posted @ 2026-11-09 11:34
beiciqi
阅读(2)
评论(0)
推荐(0)
摘要:
题目跳转 #include<bits/stdc++.h> using namespace std; typedef long long ll; ll n; string s; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); cin 阅读全文
posted @ 2026-11-09 11:23
beiciqi
阅读(1)
评论(0)
推荐(0)
摘要:
题目跳转 #include<bits/stdc++.h> using namespace std; typedef long long ll; uint8_t buf[1<<20],*p1,*p2; #define gc() (p1==p2&&(p2=(p1=buf)+fread(buf,1,1<< 阅读全文
posted @ 2026-11-09 11:21
beiciqi
阅读(1)
评论(0)
推荐(0)
摘要:
题目跳转 #include<bits/stdc++.h> using namespace std; typedef long long ll; uint8_t buf[1<<20],*p1,*p2; #define ls (p<<1) #define rs ((p<<1)|1) #define gc 阅读全文
posted @ 2026-11-09 11:20
beiciqi
阅读(1)
评论(0)
推荐(0)
摘要:
题目跳转 #include<bits/stdc++.h> using namespace std; typedef long long ll; const ll maxn=1.1e7+5; string s,tmp; ll n,r,mid,p[maxn<<1],ans; int main(){ io 阅读全文
posted @ 2026-11-09 11:18
beiciqi
阅读(1)
评论(0)
推荐(0)
摘要:
题目跳转 #include<bits/stdc++.h> using namespace std; typedef long long ll; uint8_t buf[1<<20],*p1,*p2; #define gc() (p1==p2&&(p2=(p1=buf)+fread(buf,1,1<< 阅读全文
posted @ 2026-11-09 11:17
beiciqi
阅读(1)
评论(0)
推荐(0)
摘要:
题目跳转 #include<bits/stdc++.h> using namespace std; typedef long long ll; uint8_t buf[1<<20],*p1,*p2; #define gc() (p1==p2&&(p2=(p1=buf)+fread(buf,1,1<< 阅读全文
posted @ 2026-11-09 11:14
beiciqi
阅读(1)
评论(0)
推荐(0)
摘要:
题目跳转 #include<bits/stdc++.h> using namespace std; typedef long long ll; uint8_t buf[1<<20],*p1,*p2; #define gc() (p1==p2&&(p2=(p1=buf)+fread(buf,1,1<< 阅读全文
posted @ 2026-11-09 11:11
beiciqi
阅读(2)
评论(0)
推荐(0)
摘要:
题目跳转 #include<bits/stdc++.h> using namespace std; typedef long long ll; uint8_t buf[1<<20],*p1,*p2; #define gc() (p1==p2&&(p2=(p1=buf)+fread(buf,1,1<< 阅读全文
posted @ 2026-11-09 11:10
beiciqi
阅读(1)
评论(0)
推荐(0)
摘要:
题目跳转 #include<bits/stdc++.h> using namespace std; typedef long long ll; uint8_t buf[1<<20],*p1,*p2; #define gc() (p1==p2&&(p2=(p1=buf)+fread(buf,1,1<< 阅读全文
posted @ 2026-11-09 11:09
beiciqi
阅读(2)
评论(0)
推荐(0)
摘要:
题目跳转 #include<bits/stdc++.h> using namespace std; typedef long long ll; uint8_t buf[1<<20],*p1,*p2; #define gc() (p1==p2&&(p2=(p1=buf)+fread(buf,1,1<< 阅读全文
posted @ 2026-11-09 11:08
beiciqi
阅读(1)
评论(0)
推荐(0)

浙公网安备 33010602011771号