webmaster: Sven Koenig

USC Programming Contest

Spring 2011 USC Programming Contest (8 May 2011)


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 - RecipesVanshaj SinghalJonathan Sunrecipes.cpprecipes.inrecipes.out
B - Grocery Shoppingno solutionFangyue Wanggroceries.cppgroceries.ingroceries.out
C - Ice CreamJunda ChenBen Gelseyicecream.cppicecream.inicecream.out
D - Going to the Moviesno solutionno solutionmovies.cppmovies.inmovies.out
E - Mendelian GeneticsJunda ChenSiddharth Jainmendel.cppmendel.inmendel.out
F - Road TripJunda ChenJay Whangroadtrip.cpproadtrip.inroadtrip.out


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

RankNameProblems solvedcumulative time
1Junda Chen (CECS/Math Junior)5772
2Jay Whang (CSCI/Math Freshman)3324
3Ben Gelsey (CECS Sophomore)3461
4Siddharth Jain (CSCI MS)3851
5Fangyue Wang (CSCI MS)2149

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 Google, Lockheed Martin, and Language Weaver.

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. Darryl Deweese, Ryan Brown, Aadarsh Patel and Liang Huang helped develop the problems and standard inputs/outputs. Cheng Lu made a good preparation for the environment set-up with John Ng, and communicated with the contestants and helped with judging. Aadarsh was a super efficient judge during the contest, taking over most of the judging and clarification. Zhan Shi came and talked to the contestants during the ceremony. Michelle Forcier and Anita from ACM organized check-in and photo-taking. Ravi and Anita stayed with the contestants throughout the contest. Prof. Kempe supervised the whole procedure and gave us lots of suggestions.


Pictures of the contest are available for your viewing pleasure.

Overview Details Rules

Sponsors in Spring 2019
Electronic Arts
Northrop Grumman
Marconi Foundation