摘要:
Description There are n cities in Bearland, numbered 1 through n. Cities are arranged in one long row. The distance between cities i and j is equal to 阅读全文
摘要:
Description A little bear Limak plays a game. He has five cards. There is one number written on each card. Each number is a positive integer. Limak ca 阅读全文
摘要:
Description Someone gave Alyona an array containing n positive integers a1, a2, ..., an. In one operation, Alyona can choose any element of the array 阅读全文
摘要:
Description After finishing eating her bun, Alyona came up with two integers n and m. She decided to write down two columns of integers — the first co 阅读全文
摘要:
Description Pari has a friend who loves palindrome numbers. A palindrome number is a number that reads the same forward or backward. For example 12321 阅读全文
摘要:
Description Arya has n opponents in the school. Each day he will fight with all opponents who are present this day. His opponents have some fighting p 阅读全文
摘要:
While swimming at the beach, Mike has accidentally dropped his cellphone into the water. There was no worry as he bought a cheap replacement phone wit 阅读全文