webmaster: Sven Koenig

USC Programming Contest

Fall 2016 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 - The Merchant of VeniceMatthew BurkeRachit Katariamerchant.cppmerchant.inmerchant.out
B - SonnetsMark KleinHemant Kundasonnets.cppsonnets.insonnets.out
C - Romeo & JulietRonald Yuno solutionjuliet.cppjuliet.injuliet.out
D - HamletZiyan MaPhillip Nazarianhamlet.cpphamlet.inhamlet.out
E - Midsummer Night's DreamYuehui WangHemant Kundadream.cppdream.indream.out
F - MacbethHanda Wangno solutionmacbeth.cppmacbeth.inmacbeth.out


There were 51 participants. 48 students solved at least one problem, 24 solved at least two problems, 14 solved at least 3, 6 solved at least 4, one solved 5, and one solved all problems.

RankNameProblems solvedcumulative time
1Handa Wang (CS MS)6682
2Yuehui Wang (CS MS)5268
3Run Xia (CS MS)4170
4Ho Ching Justin Cheng (EE Junior)4310

The complete final standings are also available.

Cash prizes for the top participants, food, T-shirts for everyone, swgas, etc. were provided thanks to our sponsors Facebook, Google, Northrop Grumman, Qualcomm and SDL. Computer games 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. Yu Cheng and Ruixin Qiang provided standard solutions and test cases. Ehsan Emamjomeh-Zadeh worked as a contest judge. Michael Shindler hosted the ceremony.


Pictures of the contest are available for your viewing pleasure.

Overview Details Rules

Sponsors in Spring 2019
Electronic Arts
Northrop Grumman
Marconi Foundation