摘要:
Vova again tries to play some computer card game. The rules of deck creation in this game are simple. Vova is given an existing deck of n cards and a 阅读全文
摘要:
Alice and Bob got very bored during a long car trip so they decided to play a game. From the window they can see cars of different colors running past 阅读全文
摘要:
n children are standing in a circle and playing a game. Children's numbers in clockwise order form a permutation a1, a2, ..., an of length n. It is an 阅读全文
摘要:
There are n students who have taken part in an olympiad. Now it's time to award the students. Some of them will receive diplomas, some wiil get certif 阅读全文
摘要:
阅读全文