Who is the Champion

该博客介绍了一个关于足球联赛的计分系统,其中详细阐述了比赛规则和积分计算方式。当赛季结束时,通过比较各队得分和净胜球来确定冠军。如果出现平分,则需要进行附加赛。博主提供了示例输入和输出,并给出了C++代码实现来解决这个问题。
摘要由CSDN通过智能技术生成

2019-ICPC-南昌
Who is the Champion
题目描述
Soccer is probably the sport with the greatest fans in this country. However, the national team has a poor record on the world stage. In order to energize youth players, the Soccer National Championship is organized every year.

In this year, there are nn teams taking part in the championship. As usual, the single round-robin system is adopted so that each team plays every other team once. A standard match askes ten players and a goalkeeper for both teams, which contains 2222 players in total. They confront each other, defend their nets and attack the opponent’s goal in a rectangular grass court.

In a 90-minute game, they try to shoot again and again. When the game is over, the team with higher goals will win and obtain 33 points in the scoreboard, while the loser will obtain nothing. A very special but common case is that both teams get the same goals, which is a draw; then both of them will obtain one point in the scoreboard.

At the end of the season, the league will declare the champion which is the team with the highest score in total. If two or more teams have the same highest score in total, the one with the highest goal differential (which is calculated as the number of goals scored in all league matches minus the number of goals conceded) will be the champion. The worst situation that several teams have the same highest score in total and the same goal differential will be solved by extra play-offs.

Input
The first line contains an integer ( 1 ⩽ n ⩽ 100 ) (1⩽ n⩽100) (1n100

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Good evening everyone, I am honored to stand before you today to talk about a topic that is very close to my heart - the power of self-confidence. Self-confidence is the foundation upon which we build our dreams and aspirations. Let me start by sharing some data with you. According to a study by the University of Wolverhampton, individuals with high self-confidence are more likely to succeed in their personal and professional lives, have better mental health, and enjoy a higher quality of life than those with low self-esteem. Now, let's talk about some famous personalities who have inspired us with their self-confidence. Oprah Winfrey, a self-made billionaire, once said, "It doesn't matter who you are, where you come from. The ability to triumph begins with you. Always." She is a living example of how self-confidence can help you overcome obstacles and achieve success. Another inspiring story is that of J.K. Rowling, the author of the Harry Potter series. She was rejected by several publishers before her manuscript was finally accepted. Her self-confidence and belief in her work kept her going, and today she is one of the most successful authors in the world. And who can forget the legendary Muhammad Ali? He was not just a great boxer but also a great believer in himself. He said, "I am the greatest. I said that even before I knew I was." He had unwavering self-confidence and went on to become a world champion. These are just a few examples of how self-confidence can change your life. But the truth is that self-confidence is not something that comes naturally to everyone. It is something that needs to be practiced and nurtured over time. So, how can we develop self-confidence? Firstly, we need to stop comparing ourselves to others. We are all unique individuals with our own strengths and weaknesses. Secondly, we need to focus on our strengths and work on improving them. Thirdly, we need to surround ourselves with positive people who encourage and support us. In conclusion, self-confidence is not just a feeling, it's a mindset. It's about believing in yourself, your abilities, and your dreams. I urge you all to nurture your self-confidence and let it be the driving force behind your success. Thank you.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值