This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: The MVP of the game, as chosen by our online sports magazine staff was (player with the highest rating on the winning team) with an overall rating of (MVPs rating). Input: The input is a line with the team name followed by the name and game statistics for each of 5 players on each team separated by colons. Sample Input: East LeBron James 20:5:2:0:0:1 Allen Iverson 18:3:4:0:7:7 Tracy McGrady 13:2:3:0:6:4 Paul Pierce 10:8:2:1:4:9 Jermaine ONeal 8:8:0:3:7:4 West Tim Duncan 22:8:0:3:6:9 Carmelo Anthony 23:5:2:2:0:1 Yao Ming 11:9:0:5:1:4 Steve Francis 15:2:4:0:0:4 Kevin Garnett 12:8:0:1:8:9 Sample Output Tim Duncan Shines in NBA All-Star Game The West All-Stars won the NBA All-Star Game. The score was West 83, East 69. The leading scorer for the West was Carmelo Anthony. The MVP of the game, as chosen by our online sports magazine staff was Tim Duncan with an overall rating of 13.6....
View Full Document
This document was uploaded on 05/01/2011.
- Fall '09