1180: 不容易系列(逆向思维求解) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int T; cin >> T; while (T--) { int…… 题解列表 2024年07月13日 0 点赞 0 评论 222 浏览 评分:0.0
1181: 不容易系列2(错排问题,简单的动态规划) 摘要:解题思路:错排问题,规律就是 第 n 项 =(第 n-1 项 + 第 n-2 项)*(n-1);当然啦,要从 3个数开始。注意事项:参考代码:#include<iostream>using names…… 题解列表 2024年07月13日 0 点赞 0 评论 375 浏览 评分:0.0
1182: 人民币问题(三重循环) 摘要:解题思路:我其实是想用 dfs 做的,不过不知道如何处理一些重复解的删除,所以选择了暴力,有大佬会的话,可以回复哦!注意事项:参考代码:#include<iostream>using namespac…… 题解列表 2024年07月13日 0 点赞 0 评论 296 浏览 评分:0.0
1183: 人见人爱A+B(atoi函数的使用) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;int main(){ int T; cin >> T; w…… 题解列表 2024年07月13日 0 点赞 0 评论 251 浏览 评分:0.0
2855: 简单密码 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e5;char …… 题解列表 2024年07月13日 0 点赞 0 评论 273 浏览 评分:0.0
1257: 超级楼梯(动态规划入门) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;int main(){ int T; cin >> T; w…… 题解列表 2024年07月13日 0 点赞 0 评论 244 浏览 评分:0.0
2236: 蓝桥杯算法训练-大小写转换 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;int main(){ string s…… 题解列表 2024年07月13日 0 点赞 0 评论 313 浏览 评分:0.0
2846: 统计数字字符个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;int main(){ string s…… 题解列表 2024年07月13日 0 点赞 0 评论 373 浏览 评分:0.0
题解 1644: 蓝桥杯算法训练VIP-最长字符串 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int maxx1=0; string maxx; for…… 题解列表 2024年07月13日 0 点赞 0 评论 218 浏览 评分:0.0
1644: 蓝桥杯算法训练VIP-最长字符串 摘要:```cpp #include using namespace std; typedef long long ll; int main() { string maxxstr; …… 题解列表 2024年07月13日 0 点赞 0 评论 189 浏览 评分:0.0