摘要:
Problem description Fafa owns a company that works on huge projects. There are n employees in Fafa's company. Whenever the company has a new project t 阅读全文
摘要:
Problem description Luba thinks about watering her garden. The garden can be represented as a segment of length k. Luba has got n buckets, the i-th bu 阅读全文
摘要:
Problem description We consider a positive integer perfect, if and only if the sum of its digits is exactly 10. Given a positive integer k, your task 阅读全文
摘要:
Problem description Little girl Tanya is learning how to decrease a number by one, but she does it wrong with a number consisting of two or more digit 阅读全文
摘要:
Problem description The following problem is well-known: given integers n and m, calculate 2n mod m, where 2n = 2·2·...·2 (n factors), and x mod y den 阅读全文
摘要:
Problem description You are given a rectangular board of M × N squares. Also you are given an unlimited number of standard domino pieces of 2 × 1 squa 阅读全文
摘要:
Problem description Petya started to attend programming lessons. On the first lesson his task was to write a simple program. The program was supposed 阅读全文
摘要:
Problem description "Contestant who earns a score equal to or greater than the k-th place finisher's score will advance to the next round, as long as 阅读全文