摘要: https://www.cnblogs.com/pblr/tag/ACM%E6%A8%A1%E6%9D%BF/ 阅读全文
posted @ 2021-04-22 23:03 Acception 阅读(28) 评论(0) 推荐(0)
摘要: #include <iostream> #include <cmath> #include <algorithm> using namespace std; typedef long long ll; int dp[50005][31][2]; int main() { ios::sync_with 阅读全文
posted @ 2021-04-22 19:15 Acception 阅读(26) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> typedef long long ll; const int maxn=5e5+10; using namespace std; ll dp[maxn]; int main() { ios_base::sync_with_stdio(false); 阅读全文
posted @ 2021-04-22 16:50 Acception 阅读(599) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> typedef long long ll; using namespace std; struct node{ int l,r; }a[100005]; int sum[100005]; int main() { ios::sync_with_std 阅读全文
posted @ 2021-04-22 16:13 Acception 阅读(17) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> typedef long long ll; using namespace std; const int maxn=2e6+10; const int maxm=5e6+10; struct nod{ int next,to,val; }edge[m 阅读全文
posted @ 2021-04-22 14:51 Acception 阅读(52) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> typedef long long ll; using namespace std; const int maxn=2e6+10; const int maxm=5e6+10; struct nod{ int next,to,val; }edge[m 阅读全文
posted @ 2021-04-22 14:47 Acception 阅读(101) 评论(0) 推荐(0)
摘要: Baby Ehab is known for his love for a certain operation. He has an array aa of length nn, and he decided to keep doing the following operation on it: 阅读全文
posted @ 2021-04-22 08:33 Acception 阅读(662) 评论(0) 推荐(0)