HDOJ 1236 排名
题目描述
此题较为简单,进行结构体排序即可
#include<iostream>
#include<algorithm>
#include<cstring>
using namespace std;
struct student{
string name;
int score;
};
bool com(const student& a,const student& b){
if(a.score==b.score)
return a.name&l
原创
2021-01-25 17:06:18 ·
55 阅读 ·
0 评论