webmaster: Sven Koenig

USC Programming Contest


(: title Spring 2006 USC Programming Contest (22 April 2006) :)


The problems are available as a PDF document. The table below contains sample solutions programmed by participants during the contest, as well as the input data and correct solutions used by the judges.

ProblemC/C++ solutionJava solutionJudges' C solutionInputCorrect Output
A - FundraisingTyler McHenryMichael Smithmoney.cmoney.inmoney.out
B - GerrymanderingMorgan Brownno solutiongerry.cgerry.ingerry.out
C - Stump SpeechRohit KulkarniNick Matellispeech.cspeech.inspeech.out
D - Campaign StopsDaniel Birkenno solutionstops.cstops.instops.out
E - Butterfly BallotsJosh Letchfordno solutionballots.cballots.inballots.out
F - And The Winner IsCheng-Wei LinNick Matelliwinner.cwinner.inwinner.out


There were 34 participants. Of those, 24 students solved at least one problem, 15 solved at least two problems, and 8 students at least 3 problems. Both of the top two performers, Daniel Birken and Josh Letchford, solved five problems. The top five participants were the following (You can also view the complete standings.)

RankNameProblems solvedcumulative time
1Daniel Birken (CSCI Junior)5609
2Josh Letchford (CECS Senior)5780
3Morgan Brown (CSCI Sophomore)4628
4Nick Matelli (Math Senior)3383
5Rohit Kulkarni (CSCI MS)3386

Cash prizes for the top four participants, as well as pizza and snacks for everyone, were sponsored by our new sponsor, Language Weaver. Computer and game console games for additional high placing participants were sponsored by Electronic Arts.

We would also like to thank several volunteers who made this programming contest possible. ITP made the labs available for the contest. Chi So did a great job installing the contest software, and ensuring that the machines were up and running. Vijay Panati was there during the contest, and helped with any technical issues. Marcos Vieira and Marin Kobilarov developed sample solutions and helped as contest judges, and David Firestone helped with contest setup, judging, and other aspects of the contest.


Pictures of the contest are available for your viewing pleasure now.

Overview Details Rules

Sponsors in Spring 2019
Electronic Arts
Northrop Grumman
Marconi Foundation