Mon 7 jan (12:00) - Mon 28 jan (12:00)


De contest is now over. The final standings can be found here!

Starting January 7th until January 28th, you can work on a series of programming challenges! Every week, we will make a new set of programming puzzles available and you can start working on solving them. You can view on the live-scoreboard how you perform compared to others. Do you solve the most exercises, then you can moreover win great prizes! The first set of challenges becomes available at January 7th at 12:00 on

You can win one of the following prizes:

  • First prize: a Philips Hue White & Color smartlights starter kit with 2 lights
  • Best first-year student: a Raspberry Pi 3B+ starter kit

The contest is organised by the competition committee, so you can start practicing for the Benelux Algorithm Programming Contest (BAPC) this fall.

The rules and conditions concerning participation can be found here.

Input/output of the programs

The solution to the problems can be programmed in C, C++, Python 2/3 or Java. You should make sure that the program reads input from standard input (stdin) and prints to standard output (stdout). In Python, you can for example do this in the following way:

import sys

# Read from stdin line by line
for line in sys.stdin:

# print to stdout

If you want to test your program on your local computer, you can redirect the content of a text file (containing the input) to your program with:

python < input.txt

When checking your solution, the output of your program is compared to the output of a correct program. So make sure that you adhere to the output format as described in the problem. Furthermore, your programs should not run longer than the time limit indicated in the problem.