
Matching Names
Teachers of one programming summer school decided to make a surprise for the students by giving them names in the style of the “Hobbit” movie. […]
Teachers of one programming summer school decided to make a surprise for the students by giving them names in the style of the “Hobbit” movie. […]
Limak is an old brown bear. He often plays poker with his friends. Today they went to a casino. There are n players (including Limak himself) and […]
Limak is a little bear who loves to play. Today he is playing by destroying block towers. He built n towers in a row. The i-th tower is […]
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 […]
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 […]
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 […]
After making bad dives into swimming pools, Wilbur wants to build a swimming pool in the shape of a rectangle in his backyard. He has […]
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 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 the pig really wants to be a beaver, so he decided today to pretend he is a beaver and bite at trees to cut […]
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 […]
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 […]
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 […]