webmaster: Sven Koenig

USC Programming Contest

Fall 2015 USC Programming Contest


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' solutionInputCorrect Output
A - Mr. Gorbachev, Tear Down This Wall!Zekun LiXiming Jiangwall.cppwall.inwall.out
B - Candy BomberMatthew Burkeno-solutioncandy.cppcandy.incandy.out
C - Currency ConversionZiwen Caono solutioncurrency.cppcurrency.incurrency.out
D - AmpelmännchenRonald YuDouglass Chenampel.cppampel.inampel.out
E - Population MigrationZekun LiYui Kwan Calvin Leungmigration.cppmigration.inmigration.out
F - Television ReceptionMatthew BurkeTobias LeeTV.cppTV.inTV.out


There were 58 participants. 53 students solved at least one problem, 48 solved at least two problems, 22 students solved at least 3 problems, 9 students solved at least 4 problems, and 3 students solved 5 problems. The top four participants were the following.

RankNameProblems solvedcumulative time
1Matthew Burke (CSCI Junior)5485
2Ziwen Cao (CS MS)5499
3Tobias Lee (CS MS)5686
4Zekun Li (CS MS)4251

The complete final standings are also available.

Cash prizes for the top participants, food, T-shirts for everyone, etc. were provided thanks to our sponsors Qualcomm, SDL, Facebook and Google. Computer games and swags for many participants were also donated by Electronic Arts.

We would like to thank VSoE for making the labs available for the contest. David Kempe wrote the problem set. Ryan Brown, Yu Cheng, Ehsan Emamjomeh-Zadeh, and Ruixin Qiang provided standard solutions and test cases. Gaoyuan Chen worked as contest judge. We would also like to thank our volunteer Xinpei Yu who helped running the contest.


Pictures of the contest are available for your viewing pleasure (photo credit: Ruixin Qiang and Ziwen Cao).

Overview Details Rules

Sponsors in Spring 2019
Electronic Arts
Northrop Grumman
Marconi Foundation