摘要:
C++实验:STL之vector #include <bits/stdc++.h> using namespace std; void Input(vector<int>& v) { int n, m; scanf("%d", &n); for (int i = 1; i <= n; i++) { 阅读全文
摘要:
题目传送门 sol:第一次看题还真信了是用线段树来做,但是没什么想法,看了题解发现是我不会的Treap,然后花了几天时间学习了一下并补掉题目 无旋Treap #include <bits/stdc++.h> using namespace std; typedef long long LL; con 阅读全文