E. Packmen time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A game field is a strip of 1 × n square cells. In some cells there are Packmen, in some cells - asterisks, other cells are empty.…
A. Warrior and Archer time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output In the official contest this problem has a different statement, for which jury's solution was working incorrectly, and…
D. Memory and Scores time limit per test 2 seconds memory limit per test 512 megabytes input standard input output standard output Memory and his friend Lexa are competing to get higher score in one popular computer game. Memory starts with score a a…
D. Queue time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Little girl Susie went shopping with her mom and she wondered how to improve service quality. There are n people in the queue. For e…