上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 39 下一页
摘要: DescriptionOne curious child has a set ofNlittle bricks (5 ≤N≤ 500). From these bricks he builds different staircases. Staircase consists of steps of ... 阅读全文
posted @ 2015-05-08 21:50 Painting、时光 阅读(260) 评论(0) 推荐(0) 编辑
摘要: DescriptionThere live square people in a square country. Everything in this country is square also. Thus, the Square Parliament has passed a law about... 阅读全文
posted @ 2015-05-08 20:27 Painting、时光 阅读(140) 评论(0) 推荐(0) 编辑
摘要: Programmers working on a large project have just received a task to write exactlymlines of code. There arenprogrammers working on a project, thei-th o... 阅读全文
posted @ 2015-05-08 19:12 Painting、时光 阅读(148) 评论(0) 推荐(0) 编辑
摘要: A map of some object is a rectangular field consisting ofnrows andncolumns. Each cell is initially occupied by the sea but you can cover some some cel... 阅读全文
posted @ 2015-05-08 17:57 Painting、时光 阅读(131) 评论(0) 推荐(0) 编辑
摘要: You are given a stringq. A sequence ofkstringss1, s2, ..., skis calledbeautiful, if the concatenation of these strings is stringq(formally,s1 + s2 + .... 阅读全文
posted @ 2015-05-08 17:53 Painting、时光 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 来自杰哥的模板/* 高精度模版 含大数开平方*/#include #include #include #include #include #include using namespace std;const int numlen = 105; // 位数int max(int a, int b... 阅读全文
posted @ 2015-05-08 16:54 Painting、时光 阅读(167) 评论(0) 推荐(1) 编辑
摘要: DescriptionLet’s considerK-based numbers, containing exactlyNdigits. We define a number to be valid if itsK-based notation doesn’t contain two success... 阅读全文
posted @ 2015-05-08 16:41 Painting、时光 阅读(137) 评论(0) 推荐(0) 编辑
摘要: DescriptionIf two people were born one after another with one second difference and one of them is a child, then the other one is a child too. We get ... 阅读全文
posted @ 2015-05-07 14:55 Painting、时光 阅读(176) 评论(0) 推荐(0) 编辑
摘要: DescriptionVasya is the beginning mathematician. He decided to make an important contribution to the science and to become famous all over the world. ... 阅读全文
posted @ 2015-05-07 13:12 Painting、时光 阅读(164) 评论(0) 推荐(0) 编辑
摘要: DescriptionFunctioning of a scientific conference is usually divided into several simultaneous sections. For example, there may be a section on parall... 阅读全文
posted @ 2015-05-06 22:06 Painting、时光 阅读(257) 评论(0) 推荐(0) 编辑
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 39 下一页