Skip to content
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Competitive Programming St Andrews (CPSTA)

This repository contains the resources and questions from past contests, held from 2-3PM UK Time on HackerRank.

We are now part of STACS. Our events will continue normally, but this means that every STACS member is officially a part of CPSTA. There are other benefits as well.

Accessibility issues? If you have a condition (eg visually impaired, or even otherwise) that you think is causing you difficulty in taking part in any of our our events or contests, please let know. We'll do what we can to ensure that you can take part in all our events.

Who are We?

We are a small group of St Andrews students whose main intention is to strengthen people's algorithmic and problem-solving skills. Our workshops and contests serve as preparation for competitive programming competitions and will help one ace technical coding interviews.

We are open to all irrespecitve of major or coding experience - the point is to learn and improve.

The Contest

It is a programming competition of approximately one hour where you solve fun and interesting programming problems. One of us typically sets all the problems for that contest.

Past contests

They can be found here. Analysis, and in some cases, solutions and editorials can be found there. If not here, they can be found on the contest page itself (under the "Editorial" section), where test cases can also be downloaded.

Past winners

The leaderboard for each contest can be found on the contest page itself.

Support and sponsorships

In the past, we have worked with hackathons like Hack Quarantine (Contest 11 and Contest 12) and The Open Code Foundation (Contest 19).

Upon request, we can create custom contests for hackathons and organisations, and possibly provide other support as well (like workshops and talks). For more information about us and for potential sponsorship opportunities, feel free to email

The Team

Currently consists of seven St Andrews students from around the world. Learn more about the members that power this club here.


Competitive Programming St Andrews' home page. Includes resources and questions from past contests.







No releases published


No packages published