USC Programming Contest

Fall 2025 USC Programming Contest

Problems

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. Note that the judges' sample C++ solutions also include an input validator to ensure that the generated test cases satisfy the specs we gave.

ProblemC/C++ solutionJava/Python solutionJudges' C++ solutionInputCorrect Output
A - LayoffsMatthew ZhangSpencer Tranlayoffs.cpplayoffs.inlayoffs.out
B - Salary Cutsno solutionno solutionsalary.cppsalary.insalary.out
C - Course ProducersVayun MathurJacob Scheffcps.cppcps.incps.out
D - LawsuitsAlvin Tanno solutionlawsuits.cpplawsuits.inlawsuits.out
E - OverheadPeiran QiuAmelia Schroederoverhead.cppoverhead.inoverhead.out
F - Pet ProjectsChen Gongno solutionprojects.cppprojects.inprojects.out

Results

There were 20 participants. Out of these, 14 solved at least one problem, 11 solved at least two problems, 6 students solved at least 3 problems, and 5 students solved 4 problems.

RankNameProblems solvedcumulative time
1Peiran Qiu (CSCI Junior)4358
2Vayun Mathur (CSCI Junior/Senior)4432
3Chen Gong (CSCI PhD)4468
4Alvin Tan (CSCI Sophomore)4596
5Tycho Elling (Math PhD)4849

The complete final standings are also available.

We would like to thank VSoE for making the labs available for the contest. David Kempe wrote the problem set. Changyu Zhu and Chenghao Wang provided standard solutions and test cases. Yue Wu worked as contest judge. Daniel Yip and Loc Vo created and installed the contest environment on the machines. Multiple volunteers from ACM and Isabel Fernandez from Viterbi IT helped with running the contest.




Overview Details Rules


Sponsors in Spring 2019
Electronic Arts
Google
Northrop Grumman
Marconi Foundation

(contest.usc.edu)