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% |
โฆ 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 | ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅโฆ (ยฟโฅ5?) | ๐๐๐๐๐๐๐๐๐๐๐๐โฆ (ยฟโฅ12?) |
ย
We want to increase our participation in future contests.
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
.