摘要:
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 阅读全文
posted @ 2018-05-29 15:19
霜雪千年
阅读(259)
评论(0)
推荐(0)
摘要:
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 阅读全文
posted @ 2018-05-29 15:05
霜雪千年
阅读(287)
评论(0)
推荐(0)
摘要:
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 阅读全文
posted @ 2018-05-29 14:41
霜雪千年
阅读(143)
评论(0)
推荐(0)
摘要:
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 阅读全文
posted @ 2018-05-29 14:33
霜雪千年
阅读(119)
评论(0)
推荐(0)
摘要:
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 阅读全文
posted @ 2018-05-29 07:09
霜雪千年
阅读(139)
评论(0)
推荐(0)
摘要:
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 阅读全文
posted @ 2018-05-29 06:54
霜雪千年
阅读(510)
评论(0)
推荐(0)
摘要:
Problem description Petya started to attend programming lessons. On the first lesson his task was to write a simple program. The program was supposed 阅读全文
posted @ 2018-05-29 06:44
霜雪千年
阅读(170)
评论(0)
推荐(0)
摘要:
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 阅读全文
posted @ 2018-05-29 06:31
霜雪千年
阅读(414)
评论(0)
推荐(0)