03 2024 档案

摘要: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 阅读(8) 评论(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 阅读(8) 评论(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 阅读(9) 评论(0) 推荐(0) 编辑
摘要:https://ac.nowcoder.com/acm/problem/16695 #include<bits/stdc++.h> using namespace std; typedef long long LL; typedef pair<int,int> PII; const LL MAXN= 阅读全文
posted @ 2024-03-29 15:44 Vijurria 阅读(6) 评论(0) 推荐(0) 编辑
摘要:https://www.acwing.com/problem/content/description/131/ 输入样例: 3 输出样例: 123 132 213 231 321 #include<bits/stdc++.h> using namespace std; typedef long lo 阅读全文
posted @ 2024-03-29 15:11 Vijurria 阅读(9) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2024-03-29 11:52 Vijurria 阅读(11) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2024-03-29 11:50 Vijurria 阅读(9) 评论(0) 推荐(0) 编辑