网站介绍:文章浏览阅读317次。codeforces#2winner题意:玩游戏,每轮有胜出或失败的人的名字,以及得到或失去的分数,判断最后谁的分数最高,如果最高分有多个人,输出这些人中最先达到这个分数的名字。解题思路:用map将所有人得到的最终分数存好,然后得出最大的分数,在是最大的分数的这些人中选出最先得到这个分数的人,输出。_outputstandard output the winner of the card game popular in berland "berlog
- 链接地址:https://blog.csdn.net/nininicrystal/article/details/47974401
- 链接标题:【codeforces#2A】Winner_outputstandard output the winner of the card game -CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:8561
- 网站标签:outputstandard output the winner of the card game popular in berland "berlog