#include<iostream>
#include<string>
#include<algorithm>
using namespace std;
struct Team
{
string name;
int point;//ji fen
int score;//jing sheng qiu
int in;//jin qiu
};
struct competition
{
string team1name;
string team2name;
int team1score;
int team2score;
};
const int N=60;
Team team[N];
competition game[N*(N-1)/2];
string name[N/2];
bool cmpteam(const Team &l,const Team &r)
{
if(l.point==r.point)
{
if(l.score==r.score)
{
return l.in>r.in;
}
return l.score>r.score;
}
return l.point>r.point;
HNU软件能力实训1-6. 世界杯来了
最新推荐文章于 2022-06-22 15:50:42 发布