Since 2023, JTH/JU has been participating in programming competitions/contests:
mainly in the Nordic Collegiate Programming Contest (NCPC).
The NCPC format:
Β
How are the problems?
e.g.: NCPC 2022 Problems

An example problem:
Highest Hill from NCPC 2022. (CC-BY-SA)
Some not-so-relevant text/story:
Sweden may not have a particularly impressive mountain range compared to other NCPC countries such as Norway and Iceland, but at least it beats the flatlands of Denmark. The situation is not so clear when comparing other member countries though. For example, is Estonia more mountainous than Lithuania1? To settle this question, you want to determine which of the two countries has the most impressive mountain peak.
A mountain range is defined by sampling the heights hi of n equidistant points. Within a mountain range, we call a triple of indices 1ββ€βiβ<βjβ<βkββ€βn a peak if hiββ€ββ―ββ€βhjββ₯ββ―ββ₯βhk. The height of a peak is defined as the smaller of hjβ ββ hi and hjβ ββ hk.
Given a mountain range, can you find the height of its highest peak?
11
0 1 2 3 4 5 4 3 2 1 0
5
10
29 85 88 12 52 37 19 86 7 44
67
Can you solve this?
Β
n, the number of samples, may go up to 200000!
Β
Solutions not only have to produce the correct output β ,
but also be in the optimal/expected time complexity β β .
Itβs often easy to get the correct output through brute-force simulation (no points β),
but not so easy to do it in an optimal time complexity β .
Thereβs an intricate web of competitions worldwideβ¦
| Time | Event | Location |
|---|---|---|
| 10:00 β 10:15 | Recommended arrival | JTH (yellow building) |
| 10:15 β 10:45 | Introduction Presentation | Stora Enso E1029 Auditorium |
| 11:00 β 16:00 | Main Contest (NCPC 2025) | Husqvarna E1028, Finnveden E1022 |
| Around 12:00 | Light lunch is served | Galleriet E1120 |
| 16:00 β 16:30 | Quick Award Ceremony | Stora Enso E1029 Auditorium |
Why participate?



For NWERC, thereβs even a livestream with live scoreboard, a narrator, a commentator and whatnot:
Would you like to participate?
β¦ not necessarily in the above orderβ¦
For CSE/AIE students: Rudy Matela (rudy.matela@ju.se) can be your coach if you like. (with Lucy Ellen Lwakatare and Masoumeh Taromirad as co-coaches)
For students of other programmes: find a coach within your programme/department.

How to practice?
Join the JU Kod study group.
We have a mailing list and a Discord server. We have occasional meetups and practice sessions. You can find more information on our website.
The mailing list is maintained by Rudy Matela. Let me know if you want in and youβll be informed of when we hold practice sessions, contests or meetups.
The Discord server is maintained by students (Rudy is not there).
https://jukod.github.io/
On the JU Kod website, youβll find a list of interesting problems to start practicing:
Theyβre all from past editions of NCPC.
They are hosted on open.kattis.com, you can submit your solutions to be graded automatically as if you were in the competition/contest.
Β
You can find all problems for the past decade on open.kattis.com: NCPC 2024; NCPC 2023; NCPC 2022; NCPC 2021; NCPC 2020; NCPC 2019; NCPC 2018; NCPC 2017.
https://jukod.github.io/
| NCPC | #-solvedΒ ps. | πΈπͺ-rank | πΈπͺ% | rank | % |
|---|---|---|---|---|---|
| NCPC 2023 | 5 πππππ | 24th / 36 | top 66% | 89th / 160 | top 55% |
| NCPC 2024 | 4 ππππ | 9th / 23 | top 40% | 39th / 139 | top 30% |
| NCPC 2025 | 5 πππππ | 13th / 49 | top 27% | 41th / 173 | top 25% |
β¦ also: 3 problems solved at NWERC 2024!
Think you can do better? Join next time.
| NCPC | #-teams | #-students |
|---|---|---|
| NCPC 2023 | π₯ (1) | πππ (3) |
| NCPC 2024 | π₯π₯π₯π₯ (4) | πππππππππππ (11) |
| NCPC 2025 | π₯π₯π₯π₯π₯π₯π₯π₯π₯π₯ (10) | ππππππππππππππππππππππππππππππ (30) |
| Β | ||
| NCPC 2026 | π₯π₯π₯π₯π₯π₯π₯π₯π₯π₯β¦ (ΒΏβ₯10?) | ππππππππππππππππππππππππππππππβ¦ (ΒΏβ₯30?) |
Β
Would you like to participate?
β¦ not necessarily in the above orderβ¦
For CSE/AIE students: Rudy Matela (rudy.matela@ju.se) can be your coach if you like. (with Lucy Ellen Lwakatare and Masoumeh Taromirad as co-coaches)
For students of other programmes: find a coach within your programme/department.
.
To compile this document from source run:
You need pandoc installed.
This slide set can be found on:
https://jukod.github.io/slides
.