题解 2797: 最高的分数

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

筛选

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

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

2797: 最高的分数

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() {     int n,max=0;     int ar……

最高的分数

摘要:解题思路:输入格式直接转换成数组利用sum(list)求出数组的最大值注意事项:参考代码:n = int(input())a =list(map(int,input().split()))m = ma……

最高的分数(最简单版)

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

最高的分数

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

题解 2797: 最高的分数(c++)

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    int b;    cin>>b;    int m……

2797: 最高的分数

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){   int maxx = 0;   int n;   ci……

最高的分数

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    int n,maxx=0,a;    cin>>n;……

感谢支持,谢谢你们的支持

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    int n,cj,maxx=0;;    cin>>……

最高的分数

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    short number, max_score = 0;    short *p; scanf("%hd……