UiB Logo

Vizrt Logo


Kantega Logo


Kattis Logo

BGOpen 2021 Logo

The contest was held on November 6, 2021. The winner was the student team Forvirra Førsteklassing from University of Bergen, who solved 11 out of 13 problems. Congratulations!

Final standings [bergen-open21.kattis.com]
Solution slides [pdf]
Solution videos [youtube]
Packaged problems (23.7 MB) [zip]

All material are copyright 2021 by the Jury. The problems are licenesed under Creative Commons BY-SA 4.0 license.

Welcome to the third edition of the programming contest Bergen Open! There will be free food for students, balloons, prizes, and a fantastic opportunity to enjoy computer science. Teams of size 1-3 compete to win great prizes. Check out a previous contest: pictures, report.

The contest follows the same general format as you might be familiar with from NCPC, and the contest is open for everyone.

Participating hubs:

  • University of Bergen (organizer: torstein.stromme ii.uib.no)
  • University of Oslo (organizer: {sergey, sarekhs} ifi.uio.no)
  • UiT Narvik (organizer: ghada.bouzidi uit.no)
Date and time: Saturday November 6, 10:00 - 17:00 CEST.
Registration deadline: November 3, 23:59 CEST

Location at UiB: Active room 2-3, Høyteknologisenteret, University of Bergen (map). If you do not have keys to Høyteknologisenteret, please call your host Torstein upon arrival at 92652405.


Time Activity
10:00 Doors open.
Snacks available.
10:30 Welcome. A few words by our sponsors. Verify that login works.
11:00 Contest starts.
13:30 Food arrives.
16:00 Contest ends.
16:10 Presentation of solutions.
16:30 Prize ceremony.
17:00 Done.


This year's jury cosists of: Petter Daae, Simen Hornnes, Brigt Arve Toppe Håvardstun, Torstein Strømme, and Kristoffer Æsøy.


This is a contest in programming for teams of size 1-3. The teams will be presented with a collection of algorithmic programming challenges when the contest starts, and the winning team will be the one who solves the most problems successfully. Teams will receive feedback immediately on whether they solved a problem correctly or not.

Prize elegibility

Everyone is welcome to participate in the contest, unless someone in the team has had access to the problem set in advance. However, only students who are currently enrolled in courses at University of Bergen are eligible for prizes.


Teams are ranked according to the most problems solved. Teams that are tied for amount of problems solved are ranked by least time penalty and, if need be, by the earliest time of submittal of the last accepted run.

The time penalty is the sum of the time consumed for each problem solved. The time consumed for a solved problem is the time elapsed from the beginning of the contest to the submittal of the first accepted run plus 20 extra penalty minutes for every previously rejected run for that problem. There is no time penalty for a problem that is not solved.

Accepted languages

We support all languages supported by Kattis. We guarantee that every problem can be solved in the languages Python 3, Java and C++. However, we do not guarantee that the same algorithm will neccessarily work in all languages.

Resource constraints

Rules for the 2021 edition are made to be in accordance with NCPC rules for 2021. Each team may use as many computers as the wish; the teams must bring a laptop themselves if they participate from a site. All physical and electronic reference materials are allowed, such as cheat sheets, books, hand-written notes etc. This includes online resources such as the official language references and Google, Wikipedia, GeeksforGeeks and StackOverflow. However, it is not allowed to communicate with anyone about the contest except your team members and the contest organizers; in particular you may not communicate with other teams or ask for help on discussion forums.

Your may not submit code that

  • Your team did not write in its entirety during the contest
  • Access network
  • Read or write files on the system
  • Communicate with other processes
  • Fork
  • Does anything else the jury deem unethical


You may not use BGOpen as a platform to actively promote other companies or organization than UiB and our sponsors.


Director for Bergen Open 2021 is Torstein Strømme. Please feel free to contact him at torstein.stromme@ii.uib.no if you have any questions or remarks.

UiB Logo