write a python program  Counter Strike Global Offensive is a first person shooting(FPS) game where in a match 2 teams each with 5 members play against each other in different maps. Let's say there are 2 teams, Team A and Team B. For the first half (15 rounds) Team A will play as terrorists and Team B members will play as counter terrorists. In the second half(15 rounds) Team B will play as terrorists and Team A will play as counter terrorists. The first team to reach 16 rounds will win the match. In order for the terrorist team to win a round they have to plant, defend and explode a bomb at a particular spot or eliminate all the members of the counter terrorist team. In order for the counter terrorist team to win a round, they have to eliminate all the members of the terrorist team or diffuse the bomb that was planted by the terrorist team. Unlike other games, the Most Valuable Player(MVP), can be from any of the two teams regardless of which team wins based on the points calculated from performance of the players. Now you will be given the status of a match between 2 teams as input that will contain performance(Kill, Death, Assist, Bomb Plant, Bomb Defuse, Teammate kill)  of all 10 players of the 2 participating teams. Each performance category contains points based on following criteria: 2 points for a bomb plant. 2 points for a kill. 1 point for an assist. 3 points for defusing a bomb. -1 point for killing a teammate. Now your task is to find the top 3 players based on the total point. For simplicity, you can consider  that no 2 players will have the same point.   Input format:    Team Name Player Name Kills Deaths  Assists Bomb Plant Bomb Defuse Teammate Kills   Sample Input: NaVi flamie 23 13 3 2 2 0     Fnatic Xizt 15 20 3 2 0 2 Fnatic KRIMZ 12 23 9 2 2 1 Navi electronic 24 13 5 2 2 0 Navi Zeus 14 22 12 2 2 0 Navi Edward 20 18 8 1 1 1 Fnatic JW 13 24 5 3 0 0 Navi s1mple 26 13 6 3 2 1 Fnatic twist 25 20 4 2 3 2 Fnatic Brollan 14 20 3 2 1 0   Sample Output: First: s1mple Second: twist Third: electronic

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

write a python program 

Counter Strike Global Offensive is a first person shooting(FPS) game where in a match 2 teams each with 5 members play against each other in different maps. Let's say there are 2 teams, Team A and Team B. For the first half (15 rounds) Team A will play as terrorists and Team B members will play as counter terrorists. In the second half(15 rounds) Team B will play as terrorists and Team A will play as counter terrorists. The first team to reach 16 rounds will win the match. In order for the terrorist team to win a round they have to plant, defend and explode a bomb at a particular spot or eliminate all the members of the counter terrorist team. In order for the counter terrorist team to win a round, they have to eliminate all the members of the terrorist team or diffuse the bomb that was planted by the terrorist team. Unlike other games, the Most Valuable Player(MVP), can be from any of the two teams regardless of which team wins based on the points calculated from performance of the players. Now you will be given the status of a match between 2 teams as input that will contain performance(Kill, Death, Assist, Bomb Plant, Bomb Defuse, Teammate kill)  of all 10 players of the 2 participating teams. Each performance category contains points based on following criteria:

  • 2 points for a bomb plant.
  • 2 points for a kill.
  • 1 point for an assist.
  • 3 points for defusing a bomb.
  • -1 point for killing a teammate.

Now your task is to find the top 3 players based on the total point. For simplicity, you can consider  that no 2 players will have the same point.

 

Input format: 

 

Team Name

Player Name

Kills

Deaths 

Assists

Bomb Plant

Bomb Defuse

Teammate Kills

 

Sample Input:

NaVi flamie 23 13 3 2 2 0    

Fnatic Xizt 15 20 3 2 0 2

Fnatic KRIMZ 12 23 9 2 2 1

Navi electronic 24 13 5 2 2 0

Navi Zeus 14 22 12 2 2 0

Navi Edward 20 18 8 1 1 1

Fnatic JW 13 24 5 3 0 0

Navi s1mple 26 13 6 3 2 1

Fnatic twist 25 20 4 2 3 2

Fnatic Brollan 14 20 3 2 1 0  

Sample Output:

First: s1mple

Second: twist

Third: electronic

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Random Class and its operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education