文章
6
粉丝
133
获赞
7
访问
25.0k
#include<string>
#include<iostream>
#include<set>
using namespace std;
class Person
{
public:
Person()
{
}
Person(int year,int month,int day, int score)
{
this->year = year;
this->month = month;
this->day = day;
this->score = score;
}
int year;
int month;
int day;
int score;
};
class mycompare
{
public:
bool operator()(const Person& p1, const Person& p2)const
{
if (p1.score == p2.score)
{
if (p1.year == p2...
登录后发布评论
暂无评论,来抢沙发