题解 2919: 奖学金

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

筛选

2919: 奖学金(c++)

```cpp#includeusingnamespacestd;typedefstructStu{inthao;//学号inta;//语文成绩intb;//数学成绩intc;//英语成绩intsum;//总分};//将学生的信息封装成结构体intcmp1(Stus1,

2919: 奖学金

```cpp#include#includeusingnamespacestd;structstudent{intid,Chinese,score;}stu[1000];boolsort_rule(studenta,studentb){if(a.score!=b.score)returna.score

2919: 奖学金

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; struct u { int xh;     int yv;  ……

2919: 奖学金

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;struct student{   int xh,zf,a,b,c;} s[1000……