UiB Logo

BGOpen 2019 Logo

The contest was held on November 2, 2019. The winner was FF from University of Bergen, who solved 9 out of 11 problems. Congratulations!

Final standings [link]
Problem set [pdf][kattis]
Solution slides [pdf]
Secret test data (106 MB) [zip]
Packaged problems (3.6 MB) [zip]

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

Welcome to the second 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 last year's contest: pictures, report.

The contest follows the same general format as you might be familiar with from NCPC.

The contest is open to everyone, even if you are not affiliated with University of Bergen. If you do not have keys to Høyteknologisenteret, please call your host Torstein upon arrival at 92652405.

Location: Datalab 2 and 3, Høyteknologisenteret, University of Bergen (map)
Date and time: Saturday November 2, 10:00 - 17:00 CEST.

Registration deadline: October 31, 23:59 CEST


Deadline: October 31, 23:59 CEST

Each team needs to select a team captain, who is responsible for registering the team in the registration form.


Time Activity
10:00 Doors open.
Snacks available.
10:30 Log-in information and passwords are distributed.
10:50 All ready.
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: Olav Røthe Bakken and Torstein Strømme.


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

Each team may use at most one computer; it can be a laptop brought by the team itself, or the team can borrow a cluster computer. All physical reference materials are allowed, such as cheat sheets, books, hand-written notes etc. Online resources are restricted to the official language references and the help references in the jugding system; stuff like Google, Wikipedia, GeeksforGeeks and StackOverflow is not allowed.

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 2019 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