摘要: see you again #include<bits/stdc++.h> using namespace std; int n,m,x,y,v,Lok[500010],Rok[500010],Lban[500010],Rban[500010],pre[500010],ans[500010]; bo 阅读全文
posted @ 2024-09-13 20:31 yzc_is_SadBee 阅读(15) 评论(0) 推荐(0)
摘要: 题解 总之,赞美太阳 #include <bits/stdc++.h> using namespace std; inline int read(){ char c;int f=1,res=0; while(c=getchar(),!isdigit(c))if(c=='-')f*=-1; while 阅读全文
posted @ 2024-09-13 20:14 yzc_is_SadBee 阅读(27) 评论(0) 推荐(0)
摘要: 题解其1 最终看着写的题解 #include <bits/stdc++.h> using namespace std; inline void read(long long&x){ char c11=getchar();x=0;while(!isdigit(c11))c11=getchar(); w 阅读全文
posted @ 2024-09-13 19:43 yzc_is_SadBee 阅读(16) 评论(0) 推荐(0)
摘要: treap [详解](https://www.cnblogs.com/fusiwei/p/12884254.html) treap 这里的treap指有旋treap 如何种一棵(香蕉树)有旋treap Treap=Tree+heap。 所以Treap树堆其实就是树+堆。树是二叉查找树BST,堆是二叉 阅读全文
posted @ 2024-09-13 19:14 yzc_is_SadBee 阅读(35) 评论(0) 推荐(0)