Codeforces Beta Round #2, problem № A. Simulation of the Winner map
发布时间
阅读量:
阅读量
Codeforces Beta Round #2, problem: (A) Winner

题目大意
确定哪位玩家率先抵达最大值m
题解
首先需要计算每位玩家的最终得分,明确最高得分数值,随后再次模拟计算每位玩家的最终得分过程,率先达到最高得分且最终得分仍为最高分的玩家即为胜者
#include<bits/stdc++.h>
using namespace std;
const int maxn=1e3+10;
string name[maxn];
int ss[maxn],n;
map<string,int> mp,mm;
map<string,int>::iterator it;
int main(){
ios::sync_with_stdio(false);
cin.tie(0);
cin>>n;
int r
全部评论 (0)
还没有任何评论哟~
