Main / Spring14

Spring 2014 USC Programming Contest (5 April 2014)


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 - Heracles and the HydraMatthew BurkeDouglass Chenhydra.cpphydra.inhydra.out
B - Odysseus and the SirensEvan BrownAaron Harrissiren.cppsiren.insiren.out
C - Heracles and the Stables of AugeasRuixin Qiangno solutionaugeas.cppaugeas.inaugeas.out
D - Milo of Croton and the CalfXinpei YuZhe Xiemilo.cppmilo.inmilo.out
E - Theseus and the MinotaurBrian SchwedockWilson Yehtheseus.cpptheseus.intheseus.out
F - The Trojan HorseEhsan Emamjomeh-ZadehTobias Leehorse.cpphorse.inhorse.out


There were 51 participants. 45 students solved at least one problem, 37 solved at least two problems, 29 students solved at least 3 problems, 22 students solved at least 4 problems, 12 students solved at least 5 problems, and 3 students solved all 6 problems. The top four participants were the following.

RankNameProblems solvedcumulative time
1Xinpei Yu (CS MS)6536
2Ehsan Emamjomeh-Zadeh (CS PhD)6577
3Ruixin Qiang (CS PhD)6616
4Tobias Lee (CS Junior)5242

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, Vivantech 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. Noel Overkamp and Yu Cheng developed sample solutions and judge's test data. Fritzie Mercado designed the contest shirts. Jun Chen, Zhiyi Xu, Rongqi Qiu worked as contest judge. Jing Huang and Yu Cheng helped with all aspects of preparation, registration and ordering food. We would also like to thank our volunteer Siyu Yue, Ho Yee Cheung and Saurav Chowdhury who helped running the contest.


Pictures of the contest are available for your viewing pleasure.

Photo credit: Rongqi Qiu, Yu Cheng.