根据不同结构体对象,创建数组变量来解决 解题思路:不同学生有不同的结构体对象,可利用可变数组来储存,并调用注意事项:正确使用可变数组的定义和声明参考代码:#include#includeusingnamespacestd;structDate{stringnumber;stringname;intChin 题解列表 2025年01月06日 2 点赞 0 评论 945 浏览 评分:10.0
1009简单易看题解,并注释 摘要:```#include#includeint main(){ char a[6]; scanf("%s",a); //直接用库函数 int …… 题解列表 2025年01月06日 6 点赞 1 评论 1360 浏览 评分:10.0
简单易懂 给个赞 嘻嘻 解题思路:很简单注意事项:注意考虑周到参考代码:#include#defineN10000voidtext(int*a,intn1,intn2){inttemp[N];for(inti=0;i 题解列表 2025年01月09日 7 点赞 0 评论 1190 浏览 评分:10.0 1009题解,用循环做 解题思路和注意事项:首先要明白每个要求的操作思路,为了清楚点我们直接举具体的数:123第一个要求几位数,那么就是将123除以10,123是三位数字,123能除以10两次,那么将变量count初始化为1,加上2次就是3,使用while循环,count++就是进行count初始化的值加1, 题解列表 2025年01月11日 22 点赞 0 评论 2210 浏览 评分:10.0 危险系数 dfs 摘要: #include #include using namespace std; int n,m; //点以及边信息 int map[10…… 题解列表 2025年01月11日 0 点赞 2 评论 741 浏览 评分:10.0 编写题解 2007: 计算输入数据的和与乘积 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){i…… 题解列表 2025年01月12日 1 点赞 0 评论 406 浏览 评分:10.0 超级简单易懂 摘要:解题思路:先按照行找到最大值,再按照列比对是否为最小值,匹配成功则输出鞍点注意事项:参考代码:l = []for i in range(5): s = list(map(in…… 题解列表 2025年01月12日 0 点赞 0 评论 669 浏览 评分:10.0 运用‘?’快速判断 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c,max; &n…… 题解列表 2025年01月12日 27 点赞 1 评论 1601 浏览 评分:10.0 编写题解 3150: 蓝桥杯2023年第十四届省赛真题-冶炼金属(注释清晰,简单易懂) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int N;&nb…… 题解列表 2025年01月13日 8 点赞 0 评论 1182 浏览 评分:10.0 编写题解 2571: 蓝桥杯2020年第十一届省赛真题-回文日期(代码较长但易理解,注释清晰) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int A(int x);int B(int p);int main(){i…… 题解列表 2025年01月13日 2 点赞 1 评论 720 浏览 评分:10.0 « 12...5855585658575858585958605861...59105911 »
1009题解,用循环做 解题思路和注意事项:首先要明白每个要求的操作思路,为了清楚点我们直接举具体的数:123第一个要求几位数,那么就是将123除以10,123是三位数字,123能除以10两次,那么将变量count初始化为1,加上2次就是3,使用while循环,count++就是进行count初始化的值加1, 题解列表 2025年01月11日 22 点赞 0 评论 2210 浏览 评分:10.0
危险系数 dfs 摘要: #include #include using namespace std; int n,m; //点以及边信息 int map[10…… 题解列表 2025年01月11日 0 点赞 2 评论 741 浏览 评分:10.0
编写题解 2007: 计算输入数据的和与乘积 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){i…… 题解列表 2025年01月12日 1 点赞 0 评论 406 浏览 评分:10.0
超级简单易懂 摘要:解题思路:先按照行找到最大值,再按照列比对是否为最小值,匹配成功则输出鞍点注意事项:参考代码:l = []for i in range(5): s = list(map(in…… 题解列表 2025年01月12日 0 点赞 0 评论 669 浏览 评分:10.0
运用‘?’快速判断 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c,max; &n…… 题解列表 2025年01月12日 27 点赞 1 评论 1601 浏览 评分:10.0
编写题解 3150: 蓝桥杯2023年第十四届省赛真题-冶炼金属(注释清晰,简单易懂) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int N;&nb…… 题解列表 2025年01月13日 8 点赞 0 评论 1182 浏览 评分:10.0
编写题解 2571: 蓝桥杯2020年第十一届省赛真题-回文日期(代码较长但易理解,注释清晰) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int A(int x);int B(int p);int main(){i…… 题解列表 2025年01月13日 2 点赞 1 评论 720 浏览 评分:10.0