BalkOI 2026 - Day 2

Scheduled

Welcome to the online mirror of Day 2 of the Balkan Olympiad in Informatics 2026, held in Tirana, Albania.

This contest uses the problems of the official Day 2 competition, with the same time limit and scoring as the onsite participants had. The first competition day is mirrored separately, as BalkOI 2026 - Day 1.

Format

You will be given 5 hours to solve 3 problems.

The scoring is block-based (IOI style), meaning points are awarded for each block of tests separately, and only if the solution passes all tests in the block. Your score for a problem is the best score among all your submissions. If there is a tie between two participants, the one whose last productive submission (i.e., a submission that added at least one point) was made earlier will be ranked higher in the leaderboard.

Solutions can be submitted in any programming language available on the platform, although at the olympiad itself all contestants used C++.

This is a rated competition for all participants.

About the olympiad

The Balkan Olympiad in Informatics is an annual international competition in informatics for secondary school students from the Balkan region, held since 1993. The 2026 edition was hosted in Tirana, Albania.