Run for beer

2020 VietMX 0

People in BubbleLand like to drink beer. Little do you know, beer here is so good and strong that every time you drink it your […]

Bribes

2020 VietMX 0

Ruritania is a country with a very badly maintained road network, which is not exactly good news for lorry drivers that constantly have to do […]

Fibonotci

2020 VietMX 0

Fibonotci sequence is an integer recursive sequence defined by the recurrence relation Fn = sn - 1·Fn - 1 + sn - 2·Fn - 2 with F0 = 0, F1 = 1 Sequence s is an infinite and almost cyclic sequence with a cycle […]

Robots protection

2020 VietMX 0

Company “Robots industries” produces robots for territory protection. Robots protect triangle territories — right isosceles triangles with catheti parallel to North-South and East-West directions. Owner […]

Spectator Riots

2020 VietMX 0

It’s riot time on football stadium Ramacana! Raging fans have entered the field and the police find themselves in a difficult situation. The field can […]

Wilbur and Array

2020 VietMX 0

Wilbur the pig is tinkering with arrays again. He has the array a 1, a 2, …, a n initially consisting of n zeros. At one step, he can choose any index i and either add 1 to all […]

Wilbur and Points

2020 VietMX 0

Wilbur is playing with a set of n points on the coordinate plane. All points have non-negative integer coordinates. Moreover, if some point ( x, y) belongs to the […]

Wilbur and Strings

2020 VietMX 0

Wilbur the pig now wants to play with strings. He has found an n by m table consisting only of the digits from 0 to 9 where the rows are numbered 1 to n and the columns […]

Chain Reaction

2020 VietMX 3

There are n beacons located at distinct positions on a number line. The i-th beacon has position a i and power level b i. When the i-th beacon is activated, it destroys all beacons […]

Zuma

2020 VietMX 0

Genos recently installed the game Zuma on his phone. In Zuma there exists a line of n gemstones, the i-th of which has color c i. The goal of the […]

Power Tree

2020 VietMX 0

Genos and Saitama went shopping for Christmas trees. However, a different type of tree caught their attention, the exalted Power Tree. A Power Tree starts […]

Marbles

2020 VietMX 0

In the spirit of the holidays, Saitama has given Genos two grid paths of length n (a weird gift even by Saitama’s standards). A grid path is […]

New Year and Days

2020 VietMX 0

Today is Wednesday, the third day of the week. What’s more interesting is that tomorrow is the last day of the year 2015. Limak is […]

New Year and Domino

2020 VietMX 0

They say “years are like dominoes, tumbling one after the other“. But would a year fit into a grid? I don’t think so. Limak is […]