您的位置:首页 > 其它

URAL 1873 大阅读题

2016-07-15 18:06 197 查看
就读文章就行,然后统计每个人各参加了多少场比赛,题目在最后已经告诉你三个人的比赛数了,用他们来验证下就行

#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
);
//system("pause");
//while (1);
return 0;
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: