摘要:
https://www.acwing.com/problem/content/1493/ 输入样例1: 4 1 1 2 输出样例1: 2 输入样例2: 10 5 1 2 3 4 5 6 7 8 9 10 输出样例2: 112512 #include<bits/stdc++.h> using name 阅读全文
摘要:
https://www.acwing.com/problem/content/1113/ #include<bits/stdc++.h> using namespace std; typedef long long LL; typedef pair<int,int> PII; const LL MA 阅读全文