题解 2920: 分数线划定

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

筛选

c++分数线划定

参考代码:#include#include#includeusingnamespacestd;//定义一个结构体来表示候选人structCandidate{intid;//报名号intscore;//笔试成绩};//自定义排序规则:先按成绩降序

2920: 分数线划定

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

2920: 分数线划定

```cpp#include#includeusingnamespacestd;typedefstructstudent{intid;intmark;}stu;stua[5001],temp[5001];intmain(){intn,m,mian,