Skip to content
MATA High School Programming Contest Problems and Solutions
Java Python C++ C Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
2017 prac02: Remove initial "number-of-lines" Oct 8, 2018
2018 2018 logos and trophies Nov 11, 2018
.gitignore 2017 MATA HSPC Problems and Solutions Nov 6, 2017

MATA High School Programming Contest

Mid-America Technology Alliance (MATA) ( and Hack 4 Good (H4G) ( began hosting an annual High School Programming Contest (HSPC) in Springfield Missouri in 2017.

Each year, we publish contest information, problems, and solutions to this repository so that high school teachers and students may better prepare for future/other programming contests. If you find an error or would like to help improve the published solutions, please fork this repository and generate a pull request with your changes.

Getting Started

Each contest is organized into a separate folder by year. Each year contains Team Packets (Practice Problems and Competition Problems), Problem files (Sample Input/Output files and Secret Input/Output files), and Solution files (sample solutions).


Please read for details on our code of conduct and the process for submitting pull requests to us.


  • Jason Klein - Initial work - jason-klein
  • Thomas Rankin - Initial work - trankin
  • Charles Moss - 2018 Problems
  • Fredrick Lawler - 2018 Solutions (C++) - fredlawl
  • Bjorn Helgaas - 2018 Solutions (C,Py2,Py3) - bjorn-helgaas

See also the list of contributors who participated in this project.


This project is licensed under the MIT License - see the file for details


  • Thank you to the entire Hack 4 Good Springfield committee and all of our event sponsors for helping make this event possible.
  • Thank you to Sherry Coker and everyone else involved in MATA for creating Hack 4 Good Springfield.
  • Thank you to Robin Robertson with Republic Schools for helping us promote this event to High School Computer Science teachers and students in our region.
  • Thank you to Thomas Rankin, Frederick Lawler, Maranda Provance, Bjorn Helgaas for volunteering time to help proofread Problem Statements and write sample solutions.
  • Numerous problems were adapted from (or inspired by) problems on HP CodeWars.
  • Thank you to the DOMjudge team for creating an excellent Programming Contest platform. Their system was easy to host and configure on several AWS EC2 instances and performed flawlessly in 2017 and 2018.
You can’t perform that action at this time.