上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 49 下一页
摘要: Vova, the Ultimate Thule new shaman, wants to build a pipeline. As there are exactly n houses in Ultimate Thule, Vova wants the city t... 阅读全文
posted @ 2018-12-20 16:24 black_hole6 阅读(239) 评论(0) 推荐(1)
摘要: New Year is coming in Line World! In this world, there are n cells numbered by integers from 1 to n, as a 1 × n board. People live in ... 阅读全文
posted @ 2018-12-20 15:56 black_hole6 阅读(129) 评论(0) 推荐(0)
摘要: New Year is coming in Line World! In this world, there are n cells numbered by integers from 1 to n, as a 1 × n board. People live in ... 阅读全文
posted @ 2018-12-20 15:56 black_hole6 阅读(157) 评论(0) 推荐(0)
摘要: Yaroslav has an array that consists of n integers. In one second Yaroslav can swap two neighboring array elements. Now Yaroslav is won... 阅读全文
posted @ 2018-12-20 15:14 black_hole6 阅读(275) 评论(0) 推荐(0)
摘要: Yaroslav has an array that consists of n integers. In one second Yaroslav can swap two neighboring array elements. Now Yaroslav is won... 阅读全文
posted @ 2018-12-20 15:14 black_hole6 阅读(213) 评论(0) 推荐(0)
摘要: There are n houses in the village and some bidirectional roads connecting them. Every day peole always like to ask like this "How far ... 阅读全文
posted @ 2018-12-20 13:58 black_hole6 阅读(202) 评论(0) 推荐(0)
摘要: There are n houses in the village and some bidirectional roads connecting them. Every day peole always like to ask like this "How far ... 阅读全文
posted @ 2018-12-20 13:58 black_hole6 阅读(181) 评论(0) 推荐(0)
摘要: Lele now is thinking about a simple function f(x). If x = 10 f(x) = a0 * f(x-1) + a1 * f(x-2) + a2 * f(x-3) + …… + a9 * f(x-10); And a... 阅读全文
posted @ 2018-12-19 23:19 black_hole6 阅读(158) 评论(0) 推荐(0)
摘要: Lele now is thinking about a simple function f(x). If x = 10 f(x) = a0 * f(x-1) + a1 * f(x-2) + a2 * f(x-3) + …… + a9 * f(x-10); And a... 阅读全文
posted @ 2018-12-19 23:19 black_hole6 阅读(146) 评论(0) 推荐(0)
摘要: 英国天文学家爱丁顿很喜欢骑车。据说他为了炫耀自己的骑车功力,还定义了一个“爱丁顿数” E ,即满足有 E 天骑车超过 E 英里的最大整数 E。据说爱丁顿自己的 E 等于87。现给定某人 N 天的骑车距离,请你算出对应的爱丁顿数 E(≤N)。输入格式:输入第一行给出一个... 阅读全文
posted @ 2018-12-19 17:01 black_hole6 阅读(163) 评论(0) 推荐(0)
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 49 下一页