编写题解 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 评论 424 浏览 评分:0.0
题解 2688: 蓝桥杯2022年第十三届省赛真题-技能升级 摘要:解题思路: 简化攻击力增加量的计算过程,确保每次升级后都按等差数列求和来计算总增加攻击力。参考代码:#include <stdio.h>#include <limits.h>#define max …… 题解列表 2024年06月16日 0 点赞 0 评论 637 浏览 评分:0.0
题解 2688: 蓝桥杯2022年第十三届省赛真题-技能升级 摘要:解题思路:贱命一条就是干注意事项:无参考代码:#include <stdio.h>#include <stdlib.h>#define max 1000005struct Node { int …… 题解列表 2024年06月16日 0 点赞 0 评论 424 浏览 评分:0.0
傻瓜式解决方法 摘要:#include #include //(类比依次输出数字的大小,采用中间变量进行排序) int main() { char str1[100], str2[100], str3[…… 题解列表 2024年06月17日 0 点赞 0 评论 504 浏览 评分:0.0
简单易理解的思路 摘要:题目只是为了将大写改成小写,只要是控制原本字符数组中大写字母直接+32变成小写就好了 #include int main() { int i; char a[128]; …… 题解列表 2024年06月17日 0 点赞 0 评论 442 浏览 评分:0.0
三个数求最大值c语言解析(简单易懂) 摘要:解题思路:题目让从三个数中找出最大数,首先要先定义三个整形数据,然后分别输入这三个整形数据后,用if的嵌套语句或使用&&进行判断注意事项:在输入时记得带&符号。在做if嵌套时注意要逻辑正确。参考代码:…… 题解列表 2024年06月19日 2 点赞 0 评论 783 浏览 评分:0.0
简单冒泡排序 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int arr[3];int main(){ for(int i =0;i<3;i+…… 题解列表 2024年06月19日 0 点赞 0 评论 428 浏览 评分:0.0
新手来看好玩的插入排序,开眼界咯 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int arr[4];int main(){ for(int i =0;i<4;i++) …… 题解列表 2024年06月19日 0 点赞 0 评论 357 浏览 评分:0.0
扫雷游戏Minesweeper 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> #include<algorithm> using namespace std; con…… 题解列表 2024年06月20日 0 点赞 0 评论 338 浏览 评分:0.0
我的思路找*号周围加一(*号不加) 摘要:```cpp #include using namespace std; char jia (char a) { if(a!='*') { a++; } return…… 题解列表 2024年06月22日 0 点赞 0 评论 462 浏览 评分:0.0