摘要: 1 #include<bits/stdc++.h> 2 using namespace std; 3 typedef long long ll; 4 const int N=5e4+5; 5 int blg[N],L[N],R[N],tag[N],sum[N],a[N],block,tot; 6 v 阅读全文
posted @ 2022-03-06 22:39 matt-11 阅读(46) 评论(0) 推荐(0)
摘要: //POJ这题用map会TLE,自己造hash,而且要求最小的x;暴力枚举; 1 #include<iostream> 2 #include<cstdio> 3 #include<cmath> 4 #include<algorithm> 5 #include<map> 6 #include<vect 阅读全文
posted @ 2022-03-06 19:59 matt-11 阅读(32) 评论(0) 推荐(0)