webmaster: Sven Koenig

USC Programming Contest

Spring 2009 USC Programming Contest (25 April 2009)


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 - Bailout BonusTyler BreisacherMatthew Michiharabonus.cppbonus.inbonus.out
B - Risk AssessmentDarryl DeWeeseRyan Romanowskirisk.crisk.inrisk.out
C - Stock Tradingno solutionno solutiontrading.ctrading.intrading.out
D - Foreclosure BoroughCheng-Wei LinKeegan Mosleyborough.cppborough.inborough.out
E - Toxic AssetsNa ChenDavid Richardsonassets.cassets.inassets.out
F - Stimulus PackageAadarsh PatelJustin Lewisstimulus.cppstimulus.instimulus.out


There were 39 participants. 34 students solved at least one problem, 13 solved at least two problems, 9 students solved at least 3 problems, 6 solved at least 4 problems, and 3 solved 5 problems. The top five participants were the following.

RankNameProblems solvedcumulative time
1Darryl DeWeese (CECS Junior)5621
2Aadarsh Patel (CECS Junior)5651
3David Richardson (CSCI Senior)5719
4Cheng-Wei Lin (CECS Senior)4307
5Ryan Brown (CECS Junior)4310

The complete final standings are also available.

Cash prizes for the top four participants, food, T-shirts for everyone, etc. were provided thanks to our sponsors Lockheed Martin, Language Weaver, Sun Microsystems, Google, and Zero G Games. Computer games for many participants were also donated by Electronic Arts.

We would also like to thank several volunteers who made this programming contest possible. VSoE made the labs available for the contest, and provided competent technical support. Marcos Vieira, Kai Song, and Akshat Gupta 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