contest_prelude_contest_scoreboard
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
contest_prelude_contest_scoreboard [2011/08/28 15:05] – created jtkorb | contest_prelude_contest_scoreboard [2011/08/28 15:33] (current) – jtkorb | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Prelude to Contest Scoreboard ====== | ===== Prelude to Contest Scoreboard ====== | ||
- | First, start by reading the problem statement for [[http:// | + | First, start by reading the problem statement for [[http:// |
===== Input ===== | ===== Input ===== | ||
+ | Each input line is a four-tuple: contestant number, problem number, time of submission, and result code (L). | ||
===== Output ===== | ===== Output ===== | ||
+ | Print the number of contests in the form: | ||
+ | |||
+ | < | ||
+ | Number of contests: x | ||
+ | </ | ||
+ | |||
+ | For each contest, print the number of correct and incorrect submissions as two integers on the same line separated by a space. | ||
+ | |||
+ | There should be a blank line separating each contest and a blank line separating the first contest from the initial message (and no blank line at the end). | ||
===== Sample Input ===== | ===== Sample Input ===== | ||
+ | < | ||
+ | 2 | ||
+ | |||
+ | 1 2 10 I | ||
+ | 3 1 11 C | ||
+ | 1 2 19 R | ||
+ | 1 2 21 C | ||
+ | 1 1 25 C | ||
+ | |||
+ | 1 1 10 C | ||
+ | 5 1 10 C | ||
+ | 2 1 10 C | ||
+ | 4 1 20 I | ||
+ | </ | ||
===== Sample Output ===== | ===== Sample Output ===== | ||
+ | < | ||
+ | Number of contests: 2 | ||
+ | |||
+ | 3 1 | ||
+ | 3 1 | ||
+ | </ |
contest_prelude_contest_scoreboard.1314569122.txt.gz · Last modified: 2011/08/28 15:05 by jtkorb