编写题解 2902: 输出最高分数的学生姓名 摘要:解题思路:输入*判断*输出注意事项:name二维参考代码:#include<stdio.h>#include<string.h>int main(){ int s,i,n,a[101]; …… 题解列表 2022年10月21日 0 点赞 0 评论 495 浏览 评分:2.0
二级C语言-平均值计算,罗。。。。。我写出来了 摘要:解题思路: 输入10个整数,求它们的平均值,并输出大于平均值的数据的个数看到输入10个整数,你要想到用什么来存这十个数。注意事项:参考代码:#include <stdio.h>int main(){…… 题解列表 2022年10月24日 0 点赞 1 评论 165 浏览 评分:2.0
2847: 找第一个只出现一次的字符 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { int flag = 0, tong[128] =…… 题解列表 2022年10月26日 0 点赞 0 评论 317 浏览 评分:2.0
2854——密码翻译 摘要:分别判断两种情况 做出对应修改参考代码:#include"stdio.h" #include"string.h" typedef char string[111]; string str; …… 题解列表 2022年10月28日 0 点赞 0 评论 472 浏览 评分:2.0
2957连续分数求和代码 摘要:解题思路:注意事项:找分母的最小公倍数,求分子分母最大公约数。参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>#include…… 题解列表 2022年10月29日 0 点赞 0 评论 384 浏览 评分:2.0
你有见过这么帅又这么干练的未来it人才吗 摘要:解题思路:利用二维数组输入矩阵,再求和注意事项:我很帅参考代码:#include<stdio.h>int main(){int a[3][3];int i,j;for(i=0;i<3;i++)for(…… 题解列表 2022年11月03日 0 点赞 0 评论 181 浏览 评分:2.0
2936: 简单算术表达式求值 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>#include <math.h>int main(){ …… 题解列表 2022年11月07日 0 点赞 0 评论 434 浏览 评分:2.0
典型的递推题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n; scanf("%d",&n); double s…… 题解列表 2022年11月10日 0 点赞 0 评论 286 浏览 评分:2.0
与指定数字相同的数 摘要:解题思路:一维数组的应用注意事项:参考代码:#include<stdio.h>int main(){ int i,N,m,n,b=0; scanf("%d %d",&N,&m); int a[N]; …… 题解列表 2022年11月12日 0 点赞 0 评论 566 浏览 评分:2.0
蓝桥杯2022第十三届省赛真题——数位排序 摘要:解题思路:用记忆化搜索(或是递推)求出1-n的每个数的数位和,时间复杂度为O(n),然后用sort排序,时间复杂度为O(nlogn),最后输出排序后的第m个位置的数注意事项: 不会超时参考代码:#i…… 题解列表 2022年11月14日 0 点赞 0 评论 363 浏览 评分:2.0