题解 2247: 蓝桥杯算法提高-输出三个整数的最大数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int manba(int a,int b,int c){ if(a>b) { …… 题解列表 2024年06月16日 0 点赞 0 评论 186 浏览 评分:0.0
题解 1852: 求1+2+3+...+n的值(正确题解·(doge)) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int manba(long long a,long long sum){ fo…… 题解列表 2024年06月16日 0 点赞 0 评论 156 浏览 评分:0.0
N以内累加求和 摘要:解题思路:循环注意事项:n大写参考代码:#include <iostream>using namespace std;int main() { int N,sum = 0; cin >> …… 题解列表 2024年06月16日 0 点赞 0 评论 414 浏览 评分:0.0
C语言训练-计算一个整数N的阶乘 摘要:解题思路:循环注意事项:阶乘参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int i,n,sum; sum=1;…… 题解列表 2024年06月16日 0 点赞 0 评论 205 浏览 评分:0.0
编写题解 1098: 陶陶摘苹果 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int a[10],tg,zd=0; for(int i=0;…… 题解列表 2024年06月16日 0 点赞 0 评论 250 浏览 评分:0.0
题解 2688: 蓝桥杯2022年第十三届省赛真题-技能升级 摘要:解题思路: 简化攻击力增加量的计算过程,确保每次升级后都按等差数列求和来计算总增加攻击力。参考代码:#include <stdio.h>#include <limits.h>#define max …… 题解列表 2024年06月16日 0 点赞 0 评论 385 浏览 评分:0.0
题解 2688: 蓝桥杯2022年第十三届省赛真题-技能升级 摘要:解题思路:贱命一条就是干注意事项:无参考代码:#include <stdio.h>#include <stdlib.h>#define max 1000005struct Node { int …… 题解列表 2024年06月16日 0 点赞 0 评论 217 浏览 评分:0.0
傻瓜式解决方法 摘要:#include #include //(类比依次输出数字的大小,采用中间变量进行排序) int main() { char str1[100], str2[100], str3[…… 题解列表 2024年06月17日 0 点赞 0 评论 311 浏览 评分:0.0
简单易理解的思路 摘要:题目只是为了将大写改成小写,只要是控制原本字符数组中大写字母直接+32变成小写就好了 #include int main() { int i; char a[128]; …… 题解列表 2024年06月17日 0 点赞 0 评论 266 浏览 评分:0.0
三个数求最大值c语言解析(简单易懂) 摘要:解题思路:题目让从三个数中找出最大数,首先要先定义三个整形数据,然后分别输入这三个整形数据后,用if的嵌套语句或使用&&进行判断注意事项:在输入时记得带&符号。在做if嵌套时注意要逻辑正确。参考代码:…… 题解列表 2024年06月19日 2 点赞 0 评论 561 浏览 评分:0.0