Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The Candy Lovers of America held a vote to see which candy bar is the most popular.
- 871 people voted. Their ballots are here:
- http://pastebin.com/E9ujCCRe
- The voting results are here:
- http://pastebin.com/wb0ZbJTx
- The vote tabulation algorithm is here:
- http://www.fairvote.org/irv/a_fairer_way.htm
- Write a program using Maps to implement the tabulation algorithm.
- Do not discuss this problem with anyone except the instructor.
- (The instructor's solution is 225 LOC. It took 438 minutes. Thus productivity rate is 30.8 LOC/hr. He had 10 compile defects and only two defects during testing.)
Advertisement
Add Comment
Please, Sign In to add comment