摘要:
Pushok the dog has been chasing Imp for a few hours already. Fortunately, Imp knows that Pushok is afraid of a robot vacuum cleaner. While moving, the 阅读全文
摘要:
A. Cloning Toys Recently, he found a machine that can clone plush toys. Imp knows that if he applies the machine to an original toy, he additionally g 阅读全文
摘要:
A. Water The Garden A. Water The Garden It is winter now, and Max decided it's about time he watered the garden. The garden can be represented as n co 阅读全文
摘要:
You are given a graph with n nodes and m directed edges. One lowercase letter is assigned to each node. We define a path's value as the number of the 阅读全文
摘要:
A. Supermarket We often go to supermarkets to buy some fruits or vegetables, and on the tag there prints the price for a kilo. But in some supermarket 阅读全文