Vanya and Lanterns

2020 VietMX 0

Vanya walks late at night along a straight street of length l, lit by n lanterns. Consider the coordinate system with the beginning of the street corresponding to […]

Vanya and Cubes

2020 VietMX 0

Vanya got n cubes. He decided to build a pyramid from them. Vanya wants to build the pyramid as follows: the top level of the pyramid must […]

Vanya and Exams

2020 VietMX 0

Vanya wants to pass n exams and get the academic scholarship. He will get the scholarship if the average grade mark for all the exams is at […]

Vanya and Field

2020 VietMX 0

Vanya decided to walk in the field of size n × n cells. The field contains m apple trees, the i-th apple tree is at the cell with coordinates (x i, y i). Vanya moves towards […]

Vanya and Computer Game

2020 VietMX 0

Vanya and his friend Vova play a computer game where they need to destroy n monsters to pass a level. Vanya’s character performs attack with frequency x hits per […]