User Tools

Site Tools


contest_prelude_contest_scoreboard

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
contest_prelude_contest_scoreboard [2011/08/28 15:19] jtkorbcontest_prelude_contest_scoreboard [2011/08/28 15:31] jtkorb
Line 10: Line 10:
 ===== Output ===== ===== Output =====
  
 +Print the number of contests in the form:
 +
 +<code>
 +Number of contests: x
 +</code>
 +
 +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 separating the first contest from the initial message (and no blank line at the end).
  
 ===== Sample Input ===== ===== Sample Input =====
  
 <code> <code>
-1+2
  
 1 2 10 I 1 2 10 I
Line 21: Line 28:
 1 2 21 C 1 2 21 C
 1 1 25 C 1 1 25 C
 +
 +1 1 10 C
 +5 1 10 C
 +2 1 10 C
 +4 1 20 I
 </code> </code>
  
 ===== Sample Output ===== ===== Sample Output =====
  
 +<code>
 +Number of contests: 2
  
 +3 1
 +
 +3 1
 +</code>
contest_prelude_contest_scoreboard.txt · Last modified: 2011/08/28 15:33 by jtkorb