就读文章就行,然后统计每个人各参加了多少场比赛,题目在最后已经告诉你三个人的比赛数了,用他们来验证下就行
#include <cstdio>
#include <iostream>
#include <algorithm>
#include <cmath>
#include <queue>
#include <cstdlib>
#include <cstring>
#include <vector>
#include <set>
#include <map>
using namespace std;
#define ll long long
#define maxn 100005
int num[12] = { 5, 20, 12, 2, 1, 4, 6, 1, 4, 4, 1, 0 };
int main()
{
//freopen("input.txt", "r", stdin);
//freopen("output.txt", "w", stdout);
int n;
scanf("%d", &n);
printf("%d\n", num[n]);
//system("pause");
//while (1);
return 0;
}