1. K-State home
  2. »Engineering
  3. »Computer Science
  4. »High School Programming Contest

Computer Science

High School Programming Contest

hspcThe 26th Annual K-State High School Programming Contest, sponsored by the department of computer science, will be held November 7th, 2018, from 9:30 a.m. to 4 p.m. at the K-State Alumni Center

The contest is open to all high school students, and all area high schools are invited to participate in this event. Each team consists of up to four students and one laptop per team. There are two competition divisions: a beginning division for students who have completed at most one semester of programming and have no more than one year programming experience, and an advanced division open to all high school students.

Online Registration form: 


Each High School may only register three teams for the contest.  The high school is able to make changes to their registration form until October 19, 2017.  You MUST FILL IN THE FULL NAME OF THE SCHOOL -  WE MUST BE ABLE TO SEARCH FOR YOUR SCHOOL ONLINE.  If a school submits more than one registration form, the second form will be considered the Active Registration.  The previous submission will be canceled from the Registration.  Advisors will receive a confirmation email that will allow them to edit their registration information until October 19, 2017. Please keep this email and check your junk box for any changes you need to make to your registration.

Because different schools use different types of machines and programming languages, teams must provide their own computers and software. Any programming language may be used for the contest.

Solutions to the contest problems will require numerical calculations, simple string manipulation, and logical decisions. The main difference between the two divisions will be in the complexity of the programming logic required to solve the problems. For example, more use of nested loops will be required to solve some advanced division problems. Doubly dimensioned arrays may be needed to solve advanced problems. For the single dimensioned arrays should be sufficient enough to solve the beginning problems.

The contest will consist of five rounds. During rounds one through four, teams will have 25 minutes to solve a given programming problem. During round five, teams will have 40 minutes to solve two programming problems. Teams correctly solving the problem within the allotted time will receive 20 points. Furthermore, a team that correctly solves the problem before the time has elapsed will receive an additional point for each remaining minute. No points will be given for incorrect solutions. The contest, therefore, encourages teams to find correct solutions quickly. Teams may resubmit once after an incorrect submission. The points for a correct answer on the second submission will be 10 points plus the time remaining.

One boxed lunch will be provided for each student and adviser registered. However, if your student has any dietary restrictions, please have them bring an alternate meal. There are also meal trucks, Panda Express and Subway available at the Student Union.

An awards ceremony will follow the last round. Medals for the top three teams in each division will be presented. Please bring a thumb drive and after the competition is over, we will share the solutions for this year's event.

Registration for the HSPC will begin on September 15. There is a limited amount of space available, so entries for up to three teams per school will be accepted on a first-come, first-serve basis until October 19, 2017. If space is still available after October 24, an additional one team per school may be accepted.

Receipt of registration will be acknowledged prior to the contest. Parking has been reserved for the contest, and validation permits will be available for the parking garage at the registration table. School buses will need to park near KSU Football Stadium.



Fall 2017 Competition Scorecard - Advanced Teams

Fall 2017 Competition Scorecard - Beginning Teams

Fall 2016 Competition Scorecard - Advanced Teams

Fall 2016 Competition Scorecard - Beginning Teams


Problems and Solutions

 2014 Beginning Problems & Solutions

2014 Advanced Problems & Solutions


2015 Beginning Problems & Solutions

2015 Advanced Problems & Solutions


2016 Beginning Problems & Solutions

2016 Advanced Problems & Solutions


2017 Beginning Problems & Solutions

2017 Advanced Problems & Solutions


Helpful Information

KSU Campus Map

KSU Alumni Center Map