Sample Programming Solutions

The solutions are presented exactly as received by ACSL from submissions by advisors. For each division, we chose one representative program from each programming language that was used. 

In order to be considered for publication, the program must work correctly and must include the student's name, school, division, and grade.  All things being equal, we prefer well-documented, easy-to-read programs.

Senior
Division

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Contest 1
Contest 2
Contest 3
Contest 4
Intermediate Division

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Junior
Division

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

Link to program

© 2019 by American Computer Science League