webmaster: Sven Koenig

USC Programming Contest

Fall 2010 USC Programming Contest (26 September 2010)


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 - Oil ExplorationJay WhangCary Zhangexplore.cppexplore.inexplore.out
B - Rig PlacementAadarsh PatelHenry Yuenrigs.cpprigs.inrigs.out
C - Safety PrecautionsJing Huangno solutionsafety.cppsafety.insafety.out
D - Oily CurrentsDarryl DeWeeseStephen Hopkinscurrents.cppcurrents.incurrents.out
E - Seymour the SealChanin Laohaphanno solutionseymour.cppseymour.inseymour.out
F - EcosystemTanay MehtaJunda Chensystem.cppsystem.insystem.out


There were 31 participants. 28 students solved at least one problem, 14 solved at least two problems, 9 students solved at least 3 problems, 7 solved at least 4 problems, and three students solved all 6 problems. The top five participants were the following.

RankNameProblems solvedcumulative time
1Aadarsh Patel (CECS MS 4+1)6663
2Chanin Laohaphan (CSCI PhD)6669
3Jing Huang (CSCI PhD)6694
4Henry Yuen (CSCI PhD)4388
5Darryl DeWeese (CSCI MS 4+1)4419

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 Lockheed Martin, Language Weaver, and Google. Computer games for many participants were also donated by Electronic Arts.

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. Ryan Brown helped develop sample solutions, and ACM (Andrew Ogden, Larry Sequino) organized contest setup, check-in, and food.


Pictures of the contest are available for your viewing pleasure.

Overview Details Rules

Sponsors in Spring 2019
Electronic Arts
Northrop Grumman
Marconi Foundation