USC Programming Contest

Spring 2013 USC Programming Contest (13 April 2013)


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 - Relief SuppliesZheng CaoTian Lansupplies.cppsupplies.insupplies.out
B - Snowball FightShuyang Gaono solutionfight.cppfight.infight.out
C - Weather ForecastingNolan MillerTobias Leeweather.cppweather.inweather.out
D - Building SnowmenShuyang Gaono solutionsnowmen.cppsnowmen.insnowmen.out
E - Walking on Thin IceZheng Caono solutionthinice.cppthinice.inthinice.out
F - Snow ConesZheng CaoDouglass Chencones.cppcones.incones.out


There were 51 participants. 19 students solved at least one problem, 5 solved at least two problems, 3 students solved at least 3 problems, and 1 student solved all 6 problems. The top five participants were the following.

RankNameProblems solvedcumulative time
1Zheng Cao (CS PhD)6773
2Douglass Chen (CSCI Freshman)3435
3Shuyang Gao (CS PhD)3468
4Tobias Lee (CSCI Sophomore)2229
5Nolan Miller (EE Freshman)2337

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 Bloomberg, Qualcomm, Vivantech and Google. 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. Noel Overkamp, Ryan Brown, Darryl deWeese, Aadarsh Patel and Yu Cheng wrote the problem set and developed sample solutions. Noel Overkamp, Yu Cheng, Rongqi Qiu, Jing Huang and Junda Chen 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 Bo Zhang who helped running the contest.


Pictures of the contest are available for your viewing pleasure.

Overview Details Rules

Sponsors in Spring 2019
Electronic Arts
Northrop Grumman
Marconi Foundation