Global Site Navigation (use tab and down arrow)

Back to Computer Science

NB High School Programming Competition 

A computer programming challenge for high school students

On Friday, May 31, 2024, we held our 16th Annual New Brunswick High School Programming Competition. It was the first in-person competition after moving to an online format during the COVID-19 years.

About the competition

Contestants work in teams of two people, testing their computer programming skills and problem-solving abilities. The contest consists of eight programming problems of increasing difficulty for teams to complete. The team that solves the most problems wins, and ties are broken based on how quickly the problems are solved.

2024 winning teams

First place winning team: Victor Huang and Rohan Katreddy, from Fredericton High School. They won the Bill Davis Memorial Trophy, which will be displayed in their school for one year. Each team member also won a laptop, provided by J. D. Irving, IT Division, as well as a certificate worth $1000 off first year's tuition in the BScCS (Bachelor of Science in Computer Science) program at UNB Saint John, provided by the UNB Provost.

Second-place winning team: Phan Huy Anh Nguyen and Mihail Olefir, from Saint John High School. Each team member won an iPad Mini, provided by IGT, and a certificate worth $500 off the first year's tuition in the BScCS program at UNB Saint John, provided by the UNB Provost.

Third-place winning team: Zijie Tang and Pengyi Ding, from Kennebecasis Valley High School. Each team member won JBL Clip 4 Portable Speakers with Bluetooth, provided by TechImpact, and a certificate worth $250 off the first year's tuition in the BScCS program at UNB Saint John, provided by the UNB Provost.

Congratulations to all!

Our 2024 sponsors

We thank our long-term and new sponsors:

  • J.D. Irving, Limited - Information Technology Division
  • IGT
  • Tech Impact
  • UNB Provost

How to participate

Registration is now closed. Information on our 2025 NB High School Programming Competition will be posted as details become available. Follow us on Facebook.

We also send a notification to some high school teachers about the event. If you are a teacher from a school that has not participated recently, we'd really like to add you to our mailing list Note: If you received a notification this year, you're already on our mailing list for next year.

Contest rules

See our contest rules for 2024. These rules and procedures may be modified and/or extended right up to the time of the competition. Registered contestants will eventually be sent a link to a form where they can acknowledge having read and agreed to the rules.

Sample problems

Are you a student/teacher looking to hone your skills? See the sample problems for 2024, 2022, 2021, 2019 or previous years (2018, 2017, 2016, 2015, 2014).


We have prepared a document, "Getting Started with Kattis". It is highly recommended to try out the steps highlighted in this document, so as to avoid problems during the competition. A second document, "Kattis During Contest," explains additional Kattis aspects needed during the contest.

The registration process requires you to give the email address that was used to set up your Kattis account. (If a different email address is given, there will be difficulties.)