编写题解 2919: 奖学金 摘要:解题思路:定义结构,然后是输入题目要求,然后是根据要求进行判断,然后是采用冒泡法解决排序问题,最后是输出前五个.注意事项:一定要注意等于号和双等于号在c语言当中的区别参考代码:#include<std…… 题解列表 2022年10月23日 0 点赞 1 评论 681 浏览 评分:9.9
编写题解 2919: 奖学金 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct student { int id; int yu; int shu; int Eng;};int …… 题解列表 2022年10月31日 0 点赞 0 评论 669 浏览 评分:9.9
利用sort进行结构体排序(简单易上手) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; typedef struct Geade{ int id,y,s,e,s…… 题解列表 2022年11月03日 0 点赞 0 评论 578 浏览 评分:0.0
2919: 奖学金(c++) ```cpp#includeusingnamespacestd;typedefstructStu{inthao;//学号inta;//语文成绩intb;//数学成绩intc;//英语成绩intsum;//总分};//将学生的信息封装成结构体intcmp1(Stus1, 题解列表 2022年11月07日 0 点赞 0 评论 650 浏览 评分:9.9
2919: 奖学金 ```cpp#include#includeusingnamespacestd;structstudent{intid,Chinese,score;}stu[1000];boolsort_rule(studenta,studentb){if(a.score!=b.score)returna.score 题解列表 2023年01月12日 0 点赞 0 评论 544 浏览 评分:9.9
奖学金——做题思路,优化,比较,反思 摘要:- 分析 > 想用三个数组,把他们存起来,然后 cmp sort 排序 - 第一次 WA ```c++ #include using namespace std…… 题解列表 2023年03月19日 0 点赞 0 评论 812 浏览 评分:9.9
编写题解 2919: 奖学金 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct student { int id; int yw, sx, yy; int sum;};struct student a[…… 题解列表 2023年06月02日 0 点赞 0 评论 543 浏览 评分:0.0
奖学金(结构体实在是太好用啦) 摘要:解题思路:注意事项:注意只有前五名才有奖学金参考代码:#include<stdio.h> struct student { int sno; int Chinese; …… 题解列表 2023年10月10日 0 点赞 0 评论 477 浏览 评分:0.0
2919: 奖学金 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; struct u { int xh; int yv; …… 题解列表 2023年12月09日 0 点赞 0 评论 451 浏览 评分:9.9
2919: 奖学金 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;struct student{ int xh,zf,a,b,c;} s[1000…… 题解列表 2023年12月16日 0 点赞 0 评论 791 浏览 评分:0.0