Main / Fall13

Fall 2013 USC Programming Contest (5 October 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 - The Friend of My Enemy...Yung Keong YapTobias Leeenemy.cppenemy.inenemy.out
B - Call Me Back, Please!no solutionno solutioncallback.cppcallback.incallback.out
C - Suspicious OrdersEhsan Emamjomeh-ZadehDouglass Chenorders.cpporders.inorders.out
D - Code BreakersZhiyi Xuno solutioncodebreakers.cppcodebreakers.incodebreakers.out
E - Privacy LossJun ChenHaoyu Huangprivacy.cppprivacy.inprivacy.out
F - E-Mail SnoopingHelder Faria e DiasWilson Yehemail.cppemail.inemail.out


There were 57 participants. 41 students solved at least one problem, 17 solved at least two problems, 8 students solved at least 3 problems, 5 students solved at least 4 problems, and 2 students solved 5 problems. The top five participants were the following.

RankNameProblems solvedcumulative time
1Ruixin Qiang (CS PhD)5513
2Zhiyi Xu (CS MS)5848
3Ehsan Emamjomeh-Zadeh (CS PhD)4393
4Jun Chen (CS MS)4575
5Douglass Chen (CECS Sophomore)4703

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 and swags for many participants were also donated by Electronic Arts and Microsoft.

We would like to thank VSoE for making the labs available for the contest. David Kempe wrote the problem set. Zheng Cao, Darryl deWeese, Noel Overkamp and Yu Cheng developed sample solutions and judge's test data. Yu Cheng, Jing Huang, Siyu Yue and David Kempe 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 Chandler Baker, Krishna Bharadwaj and Ho Yee Cheung who helped running the contest.


Pictures of the contest are available for your viewing pleasure.

Photo credit: Chandler Baker.