B. Students and Shoelaces time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Anna and Maria are in charge of the math club for junior students. When the club gathers together, the students be…
D. Numbers time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output One day Anna got the following task at school: to arrange several numbers in a circle so that any two neighboring numbers differs…
C. Statues time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output In this task Anna and Maria play a game with a very unpleasant rival. Anna and Maria are in the opposite squares of a chessboard…