contest_2011-08-30
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
contest_2011-08-30 [2011/08/27 13:48] – created from previous week jtkorb | contest_2011-08-30 [2011/08/28 15:33] (current) – jtkorb | ||
---|---|---|---|
Line 17: | Line 17: | ||
===== Problems ===== | ===== Problems ===== | ||
- | * A: [[contest_2011-08-23_practice|Getting Started]] | + | * A: [[contest_australian_voting_wrapup|Wrapping Up Australian Voting]] |
- | * B: [[http:// | + | * B: [[contest_prelude_jolly_jumpers|Prelude to Jolly Jumpers]] |
- | * C: [[http:// | + | * C: [[http:// |
- | * D: [[http:// | + | * D: [[contest_prelude_contest_scoreboard|Prelude to Contest Scoreboard]] |
- | * E: [[http:// | + | * E: [[http:// |
+ | * F: [[http:// | ||
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. | 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:** | + | **Hints:** |
- | * A: (1) Read carefully | + | * A: The main steps during each " |
- | * B: Make sure you handle the edge cases correctly. | + | * B: Array.sort is your friend. |
- | * C: 10.03 * 100 != 1003. | + | * C: A single array to count each of the possible differences is all it takes. |
- | * D: If the voting results in a tie, print the tied candidates in input order. | + | * D: Use this problem to get started on the next one. |
+ | * E: The solution is not long, but requires a fair amount of bookkeeping. | ||
+ | * F: More tedious than anything. |
contest_2011-08-30.1314478104.txt.gz · Last modified: 2011/08/27 13:48 by jtkorb