Calculate the score of students from the NTHU OJ scoreboard based on how many test cases a student has passed.
Multiple lines of score information, where each line is an answering record for a user account.
The format of each line is given as:
User, Answering Result, Total Passed Cases
Examples are shown below.
GEC2_105071035,3\3,3
The 3\3
of Answering Result
denotes passed_cases
\total_cases
of a problem.
The score of a student is calculated as the number of passed test cases divided by the total number of test cases.
The score for each student of the given contest with the format:
User,Score
Note that