摘要: 差分 + 贪心 点击查看代码 #include<bits/stdc++.h> using namespace std; typedef long long LL; const int N = 1e5 + 10; int n; int a[N], b[N]; void solve() { cin >> 阅读全文
posted @ 2022-07-23 18:16 wKingYu 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 分治 递归 点击查看代码 #include<bits/stdc++.h> using namespace std; typedef long long LL; const int N = 1e5 + 10; const LL mod = 9901; LL a, b; LL qmi(LL a, LL 阅读全文
posted @ 2022-07-23 10:55 wKingYu 阅读(20) 评论(0) 推荐(0) 编辑