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 revision Previous revision
Next revision
Previous revision
contest_prelude_contest_scoreboard [2011/08/28 15:28]
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://​www.programming-challenges.com/​pg.php?​page=downloadproblem&​probid=110207&​format=html|Contest Scoreboard]]. ​ For this prelude, the input format is the same as the main problem, and you will simply be reading the input and printing ​it out in the format specified.+First, start by reading the problem statement for [[http://​www.programming-challenges.com/​pg.php?​page=downloadproblem&​probid=110207&​format=html|Contest Scoreboard]]. ​ For this prelude, the input format is the same as the main problem, and you will simply be reading the input and printing out a summary ​in the format specified.
  
  
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 a blank line separating the first contest from the initial message (and no blank line at the end).
  
 ===== Sample Input ===== ===== Sample Input =====
Line 29: Line 38:
  
 ===== Sample Output ===== ===== Sample Output =====
- 
-Print the number of contests in the form: 
  
 <​code>​ <​code>​
-Number of contests: ​+Number of contests: ​2
-</​code>​+
  
-For each contest, print the number of correct and incorrect submissions as two integers on the same line separated by a space.+3 1 
 + 
 +3 1 
 +</​code>​
contest_prelude_contest_scoreboard.1314570527.txt.gz · Last modified: 2011/08/28 15:28 by jtkorb