webmaster: Sven Koenig

USC Programming Contest

Fall 2008 USC Programming Contest (20 September 2008)


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 - Isn't it Funny how a Bear likes Honey?Ryan BrownDavid Hodgebear.cppbear.inbear.out
B - The Hare and the Hedgehogsno solutionno solutionhare.cpphare.inhare.out
C - Hermit CrabsXue CaiDenis Tulskiycrabs.ccrabs.incrabs.out
D - Monkeys at TypewritersAkshat GuptaMatthew Michiharamonkeys.cppmonkeys.inmonkeys.out
E - Swamp Kangaroono solutionno solutionkangaroo.cppkangaroo.inkangaroo.out
F - Zebra HerdCheng-Wei Linno solutionzebras.cppzebras.inzebras.out


There were 53 participants. 27 students solved at least one problem, 18 solved at least two problems, and 2 students solved 3 problems. The top five participants were the following.

RankNameProblems solvedcumulative time
1Cheng-Wei Lin (CECS Senior)3388
2Ryan Brown (CECS Junior)3462
3Matthew Michihara (CECS Junior)2119
4David Hodge (CSBA Sophomore)2145
5Akshat Gupta (CSCI MS)2193

The complete final standings are also available.

Cash prizes for the top four participants were sponsored by Language Weaver. Gift cards for additional high-placing participants were sponsored by Zero G Games, and computer games by Electronic Arts. Food during and after the contest, T-shirts, and other parts of the contest were made possible by donations from Google, Sun Microsystems, and Lockheed Martin.

We would also like to thank several volunteers who made this programming contest possible. ITP made the labs available for the contest. Marcos Vieira, Kai Song, and Li Zhang developed sample solutions and helped as contest judges. UPE provided volunteers for contest setup, checkin, technical help, food, 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