题解 2797: 最高的分数

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

直接写就得了

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int a,b,max=0;    scanf("%d",&a);    while(a)    {   ……

最高的分数

摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() {     int max = 0;     int n = 0;     scanf("%d",&n……

C++最高分数

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>#include<cmath>#include<algor……

2797:最高的分数

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n);//5 int i,scor……

2025/7/26刷题记录

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d&qu……

2797: 最高的分数--用自定义函数解决(C++)

摘要:解题思路:定义一个数组来存储学生的分数。从键盘输入学生的分数,并将其存储在数组中。定义一个自定义函数,用于计算数组中的最大值。调用自定义函数来计算数组中的最大值,并将其输出。注意事项:该代码假设输入的……

题解 2797: 最高的分数

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a,b[100],max=b[0]; scanf……

2797: 最高的分数(详细注释)

摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() {     int n, score, max;         //n,表示n个学生,score,每……