User Tools

Site Tools


contest_2011-08-23

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
Last revisionBoth sides next revision
contest_2011-08-23 [2011/08/22 12:08] jtkorbcontest_2011-08-23 [2011/08/23 09:06] jtkorb
Line 17: Line 17:
 ===== Problems ===== ===== Problems =====
  
 +  * 0: [[contest_2011-08-23_practice|Getting Started]]
   * A: [[http://www.programming-challenges.com/pg.php?page=downloadproblem&probid=110101&format=html|The 3n+1 Problem]]   * A: [[http://www.programming-challenges.com/pg.php?page=downloadproblem&probid=110101&format=html|The 3n+1 Problem]]
   * B: [[http://www.programming-challenges.com/pg.php?page=downloadproblem&probid=110102&format=html|Minesweeper]]   * B: [[http://www.programming-challenges.com/pg.php?page=downloadproblem&probid=110102&format=html|Minesweeper]]
   * C: [[http://www.programming-challenges.com/pg.php?page=downloadproblem&probid=110103&format=html|The Trip]]   * C: [[http://www.programming-challenges.com/pg.php?page=downloadproblem&probid=110103&format=html|The Trip]]
 +  * D: [[http://www.programming-challenges.com/pg.php?page=downloadproblem&probid=110108&format=html|Australian Voting]]
  
-If you've already solved one or more of these problems, try (1) resolving without referring to your solution, and/or (2) using a different language (Java or C++).  If you want to work on an addition problem from this chapter, let [[jtk@purdue.edu|me]] know.+If you've already solved one or more of these problems, try (1) solving again without referring to your old solution, and/or (2) using a different language (Java or C++).  If you want to work on an additional problem from this chapter, let [[jtk@purdue.edu|me]] know.
  
 **Notes:** **Notes:**
Line 27: Line 29:
   * A: (1) Read carefully the part about echoing the input. (2) Is performance an issue?  Consider remembering what you've already computed.  (3) Do you handle the largest possible input?   * A: (1) Read carefully the part about echoing the input. (2) Is performance an issue?  Consider remembering what you've already computed.  (3) Do you handle the largest possible input?
   * B: Make sure you handle the edge cases correctly.   * B: Make sure you handle the edge cases correctly.
 +  * C: 10.03 * 100 != 1003.
 +  * D: If the voting results in a tie, print the tied candidates in input order.
contest_2011-08-23.txt · Last modified: 2011/08/23 12:51 by jtkorb