Main / Fall2018USCProgrammingContest

Fall 2018 USC Programming Contest


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: Teenage MutantMark Klein Δno solutionmutant.cppmutant.inmutant.out
B: FairnessPengda Xiang Δno solutionfairness.cppfairness.infairness.out
C: CrazinessTianlei Wang Δno solutioncraziness.cppcraziness.incraziness.out
D: SiblingsChenhui Zhu Δno solutionsiblings.cppsiblings.insiblings.out
E: Family PortraitChangyu Zhu Δno solutionportrait.cppportrait.inportrait.out
F: JuniorJiho Kim Δno solutionjunior.cppjunior.injunior.out


There were 48 participants. 37 students solved at least one problem, 24 solved at least two problems, 14 solved at least 3, 2 solved 4, 2 solved 5 and 2 solved all problems.

RankNameProblems solvedcumulative time
1Changyu Zhu (CS Sophomore)6243
2Pengda Xiang (CS PhD)6720
3Mark Klein (CS Junior)5463
4Tianlei Wang (CS Master)5754

The complete final standings are also available.

Cash prizes for the top participants, food, T-shirts for everyone, swags, etc. were provided thanks to our sponsors Google, Northrop Grumman. 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. David Kempe wrote the problem set. Yeji Shen, Justin Cheng, Ruixin Qiang provided standard solutions and test cases. Chubing Huang, Clifford Lee, Erdong Hu (and two girls from ACM that I don't know their name) also volunteered as contest judges.


Pictures of the contest are available for your viewing pleasure.

webpage hosted by Sven Koenig, USC