摘要:
坐标变换:令\(y_i=x_i+2i\) 2147483648=\(2^{31}\) 缺少的一位是符号位 点击查看代码 #include <bits/stdc++.h> using namespace std; vector<int>ans; int main() { long long n; ci 阅读全文
摘要:
题目链接 Splay树维护权值,数组模拟修改 点击查看代码 #include <bits/stdc++.h> using namespace std; int a[1000005]; int root,tot; int read1() { char cc=getchar(); while(!(cc> 阅读全文