NCPC 2021

Saturday October 9th 11:00-16:00 CEST (UTC+2)

Participating sites

Back to main NCPC page
a part of
ICPC logo



NCPC 2021 was organized the Saturday October 9th 11:00-16:00 CEST (UTC+2). In total 228 teams participated from 7 countries, trying to solve as many as possible of the 13 problems.

The winning team was Omogen Heap from KTH Royal Institute of Technology, Sweden, who was the only team solving 11 out of the 13 problems. Congratulations!

For the all results, have a look at the final standings

Contest links:

  • Final results.
  • Problem set: [PDF].
  • Post-contest solutions and results live stream [youtube].
  • Slides describing solutions [PDF].
  • Judges' input and output [tar.bz2 (157 MB)].
  • Judges' solutions [tar.bz2].
  • Packaged problems including testdata, solutions, wrong solutions, output validators, input generators, problem statement sources, etc. [tar.bz2 (185 MB)]
  • All materials are copyright 2021 by the NCPC 2021 jury. They are licensed under the Creative Commons BY-SA v3.0 license.

NCPC is a distributed contest with many sites throughout the Nordic countries.

This year the contest will be hosted online due to Covid-19. Some universities might still host a small hub. See further information about rules and sites below.

The winners will be Nordic Champions in programming. Universities may select student teams that advance to NWERC, the regional finals in the ICPC contest. NCPC also encompasses national and local championships.

NCPC will use the Kattis automatic judging system provided by Kattis. If you have never used it, we encourage you to try it out before the contest to make sure you know how it works.

Organisers should review the NCPC-Site-HOWTO.

NCPC director: Fredrik Niemelä (Kattis)
Head of Jury: Per Austrin (KTH Royal Institute of Technology / Kattis)
Technical Director: Pehr Söderman (Kattis)

Participating sites


Below is a list of sites that will hopefully join NCPC in 2021. Follow the links to get local information such as when and where to meet.

Notes for 2021:

  1. Even though the contest this year takes place online, every team will still be affiliated with one of these sites. A team must register itself for the site geographically closest to the institution the team represents.
  2. Some of these sites may offer local physical arrangements for the competition. Information about this is (or will hopefully be) provided at the respective local organization pages linked to below. If it's known to the editor of this page if the site will be on site or remote (only online), it is marked in the table below.

Status Format Country / University Contact information
Confirmed On Site University of Copenhagen Anne Honum
Sebastian Paaske Tørholm
Confirmed On Site Aarhus University Gerth Stølting Brodal
Svend Christian Svendsen
Confirmed On Site ITU Copenhagen Christian Janos Lebeda
Confirmed Only Online Tallinn University of Technology Ago Luberg
Confirmed On Site University of Tartu Meelis Kull
Confirmed Only Online Aalto University Jukka Suomela
Confirmed Only Online University of Helsinki Antti Laaksonen
Confirmed On Site Reykjavik University Unnar Freyr Erlendsson
Confirmed Only Online Vilnius University Vladas Tumasonis
Confirmed Only Online Vilnius Gediminas Technical University Dmitrij Šešok
Confirmed Only Online Kaunas University of Technology Mindaugas Vasiljevas
Confirmed Only Online NTNU Trondheim Hanne Brynildsrud
Confirmed On Site University of Bergen Torstein Strømme
Confirmed On Site University of Oslo Sarek H. Skotåm
Pending UiT - Narvik Ghada Bouzidi
Confirmed Only Online Chalmers Victor Song
Pending Karlstad University Jonathan Vestin
Confirmed On Site Linköpings universitet Gustav Sörnäs
Pending Luleå Institute of Technology Anton Johansson
Confirmed On Site Lund University Måns Magnusson
Confirmed On Site KTH Royal Institute of Technology Björn Martinsson
Confirmed Only Online Umeå University Tomas Forsman

If some information is incorrect in the table above, or you'd like to add a link/confirm your site - please send an email to Måns Magnusson <>, and I'll update it as soon as possible.



In short: Teams of up to three persons try to solve as many problems as possible from a set, without external help.

The rules for this contest is given by the ICPC regional contest rules, with the following clarifications and additions:

Who may compete

The teams competing consist of up to three persons. The competition is open to everybody, as long as they are either a citizen of the NCPC countries or related to an entity (company or university) in the NCPC countries. Every team must compete for some NCPC country.

ICPC eligibility

Only ICPC eligible student teams compete in the ICPC division. These may qualify for the regional finals (NWERC), and further to the ICPC World Finals. Basically, any student who started his/her university/college studies in 2017 or later is eligible to compete. For exceptions such as retaken years, military service and so on, please refer to the ICPC rules. Persons who have competed in five regional finals already, or two world finals, may not compete in the ICPC division.

How and where you may compete (temporary rules for 2021)

  • In 2021, the contest is done online, and you may compete from your home, your university computer lab, or anywhere else in the universe.
  • The up to three team members of a team do not need to be physically at the same place, you can compete from your own homes.
  • You may use multiple computers (the three team members can code simultaneously).

What you may do during the contest (temporary rules for 2021)

  • You may use prewritten code and whatever software is available on your computer.
  • You may use any reference materials you have access to in books or on the Internet (e.g. wikipedia and other information your favorite search engine can turn up).
  • You may NOT communicate with anyone other than the contest organisers and your own team members (in particular you may not communicate with other teams or ask for help on discussion forums).

The contest

The problem set consists of a number of problems (usually 8-12). The problem set will be in English, and given to the participating teams when the contest begins. For each of these problems, you are to write a program in any of the programming languages supported by the Kattis system (see here for a list). The jury guarantees that each problem is solvable in C++ and Java. No guarantees for other languages are given due to the large number of allowed languages, however the jury guarantees that for every language there is at least one problem solvable in that language (it has always been the case that several of the problems were solvable in all available languages, but there is no guarantee of this).

The submitted programs must read from standard input (stdin) and write to standard output (stdout), unless otherwise stated. After you have written a solution, you may submit it using the specified submission system.

The team that solves the most problems correctly wins. If two teams solve the same number of problems, the one with the lowest total time wins. If two top teams end up with the same number of problems solved and the same total time, then the team with the lowest time on a single problem is ranked higher. If two teams solve the same number of problems, with the same total time, and the same time on all problems, it is a draw. The time for a given problem is the time from the beginning of the contest to the time when the first correct solution was submitted, plus 20 minutes for each incorrect submission of that problem. The total time is the sum of the times for all solved problems, meaning you will not get extra time for a problem you never submit a correct solution to.

If you feel that a problem definition is ambiguous, you may submit a clarification request via the submission system. If the judges think there is no ambiguity, you will get a short answer stating this. Otherwise, the judges will write a clarification, that will be sent to all teams at all sites in the contest.

Last updated: 2021-10-12

Editor: Måns Magnusson <>