GO Solution For UVa 10258 - Contest Scoreboard. In this post we will see how we can solve this challenge in GoLang for UVa Online Judge.

Problem Description

Think the contest score boards are wrong? Here’s your chance to come up with the right rankings.

Contestants are ranked first by the number of problems solved (the more the better), then by decreasing amounts of penalty time. If two or more contestants are tied in both problems solved and penalty t

...

You can find the full details of the problem Contest Scoreboard at UVa Online Judge

Sample Input

1

1 2 10 I
3 1 11 C
1 2 19 R
1 2 21 C
1 1 25 C

Sample Output

1 2 66
3 1 11

Solution: Please check the main.go snippet for the solution.

Solution originally posted at: Github by @codingsince1985