摘要: 洛谷P3605 [USACO17JAN] Promotion Counting P #include<bits/stdc++.h> using namespace std; int cnt,a[100010],b[100010],fa[100010],rt[100010],ans[100010],t 阅读全文
posted @ 2025-07-15 22:03 BIxuan—玉寻 阅读(11) 评论(0) 推荐(0)
摘要: 洛谷P3369【模板】普通平衡树 代码 #include<bits/stdc++.h> using namespace std; #define ls (pos<<1) #define rs (pos<<1|1) struct jade { int l,r,num; }t[400010]; stru 阅读全文
posted @ 2025-07-15 20:37 BIxuan—玉寻 阅读(11) 评论(0) 推荐(0)