07 2016 档案
摘要:Description The Little Elephant very much loves sums on intervals. This time he has a pair of integers l and r (l ≤ r). The Little Elephant has to fin
阅读全文
摘要:Description The Little Elephant loves sortings. He has an array a consisting of n integers. Let's number the array elements from 1 to n, then the i-th
阅读全文
摘要:Description The Little Elephant loves Ukraine very much. Most of all he loves town Rozdol (ukr. "Rozdil"). However, Rozdil is dangerous to settle, so
阅读全文
摘要:Description Sergei B., the young coach of Pokemons, has found the big house which consists of n flats ordered in a row from left to right. It is possi
阅读全文
摘要:Description Vasya has the square chessboard of size n × n and m rooks. Initially the chessboard is empty. Vasya will consequently put the rooks on the
阅读全文
摘要:Description There are n cards (n is even) in the deck. Each card has a positive integer written on it. n / 2 people will play new card game. At the be
阅读全文
摘要:Description Ari the monster always wakes up very early with the first ray of the sun and the first thing she does is feeding her squirrel. Ari draws a
阅读全文
摘要:Description Galois is one of the strongest chess players of Byteforces. He has even invented a new variant of chess, which he named «PawnChess». This
阅读全文
摘要:Description Vasya has n days of vacations! So he decided to improve his IT skills and do sport. Vasya knows the following information about each of th
阅读全文
摘要:Description You are given a description of a depot. It is a rectangular checkered field of n × m size. Each cell in a field can be empty (".") or it c
阅读全文
摘要:Description There will be a launch of a new, powerful and unusual collider very soon, which located along a straight line. n particles will be launche
阅读全文
摘要:Description A restaurant received n orders for the rental. Each rental order reserve the restaurant for a continuous period of time, the i-th order is
阅读全文
摘要:Description Heidi has finally found the mythical Tree of Life – a legendary combinatorial structure which is said to contain a prophecy crucially need
阅读全文
摘要:Description The zombies are gathering in their secret lair! Heidi will strike hard to destroy them once and for all. But there is a little problem...
阅读全文
摘要:Description Further research on zombie thought processes yielded interesting results. As we know from the previous problem, the nervous system of a zo
阅读全文
摘要:Description "The zombies are lurking outside. Waiting. Moaning. And when they come..." "When they come?" "I hope the Wall is high enough." Zombie atta
阅读全文
摘要:Description One particularly well-known fact about zombies is that they move and think terribly slowly. While we still don't know why their movements
阅读全文
摘要:Description Tonight is brain dinner night and all zombies will gather together to scarf down some delicious brains. The artful Heidi plans to crash th
阅读全文