最高的分数 for循环与if语句(以下为我复习所用 解题思路:代码有注释注意事项:题目描述孙老师讲授的《计算概论》这门课期中考试刚刚结束,他想知道考试中取得的最高分数。因为人数比较多,他觉得这件事情交给计算机来做比较方便。你能帮孙老师解决这个问题吗?输入格式输入两行,第一行为整数n(1<=n<100), 题解列表 2024年11月04日 0 点赞 0 评论 573 浏览 评分:0.0
使用qsort函数排序,直接找到最大值 不懂qsort函数用法的看这里[C语言qsort函数的使用详解](https://blog.csdn.net/weixin_47648037/article/details/126691309?ops_request_misc=%257B%2522request%255Fid%2522%253A%25 题解列表 2024年08月09日 0 点赞 0 评论 493 浏览 评分:0.0
最高的分数 解题思路:注意事项:参考代码:n=int(input())l=list(input().split())t=[int(i)foriinl]print(max(t)) 题解列表 2024年07月29日 0 点赞 0 评论 557 浏览 评分:0.0
最高的分数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ short number, max_score = 0; short *p; scanf("%hd…… 题解列表 2024年01月11日 0 点赞 0 评论 427 浏览 评分:0.0
最高的分数(最简单版) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,max=0; scanf("%d",&a); for(int i=0;i<a;…… 题解列表 2023年11月27日 0 点赞 0 评论 700 浏览 评分:0.0
球数组的最大元素的简单方法 摘要:解题思路:参考注释注意事项:参考代码:#include<stdio.h>int main(){ int r, j[1000];//定义人数变量,定义成绩数组 int i;//定义循环条件变量 int …… 题解列表 2023年11月15日 0 点赞 0 评论 684 浏览 评分:9.9
最高分数的题解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n; int i; int a[1000]; int max=0; scanf("%d",&n); f…… 题解列表 2023年11月11日 0 点赞 0 评论 1243 浏览 评分:9.9
家人们,为什么这么写不对啊 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include<math.h>int main(){ int num[10], n, i, j, max; scanf("%d", …… 题解列表 2023年08月20日 0 点赞 2 评论 590 浏览 评分:6.0
最高的分数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int max = 0; int n = 0; scanf("%d",&n…… 题解列表 2023年07月30日 0 点赞 0 评论 560 浏览 评分:0.0
//////////////最高的分数////////////// 摘要:解题思路:#include<bits/stdc++.h>int main(){ int n, arr[1000], max=0; scanf("%d", &n); for (int …… 题解列表 2023年07月11日 0 点赞 0 评论 672 浏览 评分:8.7