1002: [编程入门]三个数最大值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin >> a>>b>…… 题解列表 2023年12月29日 0 点赞 0 评论 413 浏览 评分:0.0
自定义函数之数字后移,vector 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cmath>#include <iomanip>#include<cstdio>#include<cstring…… 题解列表 2023年12月29日 0 点赞 0 评论 309 浏览 评分:0.0
2858 整理药房 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;const int N=110;char s[N];int main(){ int…… 题解列表 2023年12月29日 1 点赞 0 评论 334 浏览 评分:9.9
2854: 密码翻译 摘要:``` #include using namespace std; const int N=100010; string a; //字符串 int main() { getline(c…… 题解列表 2023年12月29日 0 点赞 0 评论 355 浏览 评分:9.9
题解 2852: 配对碱基链 摘要: #include using namespace std; char a[256]; int main(){ cin>>a; int q=…… 题解列表 2023年12月29日 0 点赞 0 评论 330 浏览 评分:0.0
2880: 计算鞍点 摘要:``` #include using namespace std; int a[6][6]; int main() { int n = 5; for (int i = 1;…… 题解列表 2023年12月29日 0 点赞 0 评论 411 浏览 评分:9.9
2913: 整数去重 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N=20010;int a[N];int main() { …… 题解列表 2023年12月29日 0 点赞 0 评论 404 浏览 评分:0.0
全排列(递归) 摘要:解题思路:在第0位选取一个字母, 依次遍历字符串每个字符,如果被选过,不要再选, 递归到下一位; 如果当前位已经达到字符串长度, 输出选中的字符注意事项: 字符串索引从0开始, 注意边界; 另外, …… 题解列表 2023年12月28日 0 点赞 0 评论 933 浏览 评分:9.9
3029: 逆波兰表达式 摘要:解题思路:使用栈, 遇到数字入数字栈, 遇到操作符, 在操作符栈不为空,并且数字栈的长度大于等于2时,出栈计算,结果入栈注意事项: 最后在操作符不为空时,循环出栈计算参考代码:#include<ios…… 题解列表 2023年12月28日 0 点赞 0 评论 618 浏览 评分:9.9
题解 2851: 合法C标识符 摘要: #include using namespace std; int n; char a[200],m[200]; int main() { …… 题解列表 2023年12月27日 0 点赞 0 评论 371 浏览 评分:0.0