2853: 字符替换 摘要:解题思路:将字符串和字符存储下来后,再通过循环把字符串反复判断并改为题目要求的字符注意事项:循环内需要i从0开始循环,并用strlen()函数把数组最后的值的下标求出,放入循环参考代码:#includ…… 题解列表 2024年07月19日 0 点赞 0 评论 181 浏览 评分:0.0
编写题解 2233: 蓝桥杯算法训练-图形显示 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main() { int n; cin>>n; for(int i=n;…… 题解列表 2024年07月18日 0 点赞 0 评论 169 浏览 评分:9.9
编写题解 1848: 求输入数据绝对值 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ double a; while(cin>>a) {…… 题解列表 2024年07月18日 0 点赞 0 评论 239 浏览 评分:9.9
2846: 统计数字字符个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N = 1e7;ch…… 题解列表 2024年07月18日 0 点赞 0 评论 477 浏览 评分:0.0
2236: 蓝桥杯算法训练-大小写转换 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N = 1e7;ch…… 题解列表 2024年07月18日 0 点赞 0 评论 177 浏览 评分:0.0
题解 1512: 蓝桥杯算法提高VIP-多项式输出 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int n,a[250];int main(){ cin>>n; fo…… 题解列表 2024年07月18日 0 点赞 0 评论 210 浏览 评分:0.0
1002: [编程入门]三个数最大值 C++题解 摘要:解题思路:这是一题水题,有手就行。。。用数组和排序闭着眼睛都能过(虽然有点小题大做。。。)注意事项:一定要用万能头文件,不然其他头文件遇到sort()会报错。参考代码:#include<bits/st…… 题解列表 2024年07月17日 1 点赞 0 评论 498 浏览 评分:9.9
编写题解 3011: 余数相同问题 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,sum=0; cin>>n; …… 题解列表 2024年07月17日 0 点赞 0 评论 167 浏览 评分:9.9
题目 3011: 余数相同问题 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;int main(){ ll a,b,…… 题解列表 2024年07月17日 0 点赞 0 评论 194 浏览 评分:0.0
3011: 余数相同问题 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;int main(){ ll a,…… 题解列表 2024年07月17日 0 点赞 0 评论 123 浏览 评分:9.9