摘要:
Problem description One day three best friends Petya, Vasya and Tonya decided to form a team and take part in programming contests. Participants are u 阅读全文
posted @ 2018-05-29 15:51
霜雪千年
阅读(259)
评论(0)
推荐(0)
摘要:
Problem description The classic programming language of Bitland is Bit++. This language is so peculiar and complicated. The language is that peculiar 阅读全文
posted @ 2018-05-29 15:46
霜雪千年
阅读(170)
评论(0)
推荐(0)
摘要:
Problem description Petya loves football very much. One day, as he was watching a football match, he was writing the players' current positions on a p 阅读全文
posted @ 2018-05-29 15:39
霜雪千年
阅读(305)
评论(0)
推荐(0)
摘要:
Problem description We often go to supermarkets to buy some fruits or vegetables, and on the tag there prints the price for a kilo. But in some superm 阅读全文
posted @ 2018-05-29 15:31
霜雪千年
阅读(304)
评论(0)
推荐(0)
摘要:
Problem description Eleven wants to choose a new name for herself. As a bunch of geeks, her friends suggested an algorithm to choose a name for her. E 阅读全文
posted @ 2018-05-29 15:24
霜雪千年
阅读(150)
评论(0)
推荐(0)
摘要:
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)