getline的使用 摘要:#include<bits/stdc++.h> using namespace std; int main() { char c[1000]; cin.getline(c,1000); …… 题解列表 2024年07月12日 1 点赞 0 评论 318 浏览 评分:0.0
2852: 配对碱基链 摘要:```cpp #include using namespace std; const int N = 1e7; typedef long long ll; char a[N]; int …… 题解列表 2024年07月12日 0 点赞 0 评论 126 浏览 评分:0.0
题解 2855: 简单密码 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>typedef long long ll;using namespace std;const int N=1e5+1;ch…… 题解列表 2024年07月12日 0 点赞 0 评论 144 浏览 评分:0.0
2854: 密码翻译 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e5;char …… 题解列表 2024年07月12日 0 点赞 0 评论 167 浏览 评分:0.0
1180: 不容易系列(逆向思维求解) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int T; cin >> T; while (T--) { int…… 题解列表 2024年07月13日 0 点赞 0 评论 150 浏览 评分:0.0
1181: 不容易系列2(错排问题,简单的动态规划) 摘要:解题思路:错排问题,规律就是 第 n 项 =(第 n-1 项 + 第 n-2 项)*(n-1);当然啦,要从 3个数开始。注意事项:参考代码:#include<iostream>using names…… 题解列表 2024年07月13日 0 点赞 0 评论 278 浏览 评分:0.0
1182: 人民币问题(三重循环) 摘要:解题思路:我其实是想用 dfs 做的,不过不知道如何处理一些重复解的删除,所以选择了暴力,有大佬会的话,可以回复哦!注意事项:参考代码:#include<iostream>using namespac…… 题解列表 2024年07月13日 0 点赞 0 评论 208 浏览 评分: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 评论 160 浏览 评分:0.0
2855: 简单密码 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e5;char …… 题解列表 2024年07月13日 0 点赞 0 评论 191 浏览 评分:0.0