/PersonalElimination

Define which team is eliminated from win championship.

Primary LanguageJava

PersonalElimination

Define which team is eliminated from win championship. Input format. The input format is the number of teams in the division N followed by one line for each team. Each line contains the team name (with no internal whitespace characters), the number of wins, the number of losses, the number of remaining games, and the number of remaining games against each team in the divsion. For example, the input files teams4.txt and teams5.txt correspond to the two examples discussed above.

% more teams4.txt 4 Atlanta 83 71 8 0 1 6 1 Philadelphia 80 79 3 1 0 0 2 New_York 78 78 6 6 0 0 0 Montreal 77 82 3 1 2 0 0

% more teams5.txt 5 New_York 75 59 28 0 3 8 7 3 Baltimore 71 63 28 3 0 2 7 4 Boston 69 66 27 8 2 0 0 0 Toronto 63 72 27 7 7 0 0 0 Detroit 49 86 27 3 4 0 0 0