摘要:
https://www.acwing.com/problem/content/1320/ 输入样例: 23 3 输出样例: 1 #include<bits/stdc++.h> using namespace std; typedef long long LL; typedef pair<int,in 阅读全文
posted @ 2024-03-30 16:41
Vijurria
阅读(41)
评论(0)
推荐(0)
摘要:
https://www.acwing.com/problem/content/5478/ 输入样例1: 5 5 4 3 1 2 4 3 2 1 2 2 3 3 4 4 1 4 5 输出样例1: 2 2 2 2 3 输入样例2: 7 6 3 2 1 2 3 3 2 2 1 1 2 2 3 3 4 2 阅读全文
posted @ 2024-03-30 16:15
Vijurria
阅读(13)
评论(0)
推荐(0)
摘要:
https://www.acwing.com/problem/content/1052/ 输入样例: 1 7 3 输出样例: 8 #include<bits/stdc++.h> using namespace std; typedef long long LL; typedef pair<int,i 阅读全文
posted @ 2024-03-30 15:11
Vijurria
阅读(21)
评论(0)
推荐(0)

浙公网安备 33010602011771号