摘要: Robbery Inspector Robstop is very angry. Last night, a bank has been robbed and the robber has not been caught. And this happened already for the thir 阅读全文
posted @ 2016-12-13 21:59 happy_codes 阅读(295) 评论(0) 推荐(0) 编辑
摘要: Pairs of Integers You are to find all pairs of integers such that their sum is equal to the given integer number N and the second number results from 阅读全文
posted @ 2016-12-13 21:48 happy_codes 阅读(337) 评论(0) 推荐(0) 编辑
摘要: Watering Grass n sprinklers are installed in a horizontal strip of grass l meters long and w meters wide. Each sprinkler is installed at the horizonta 阅读全文
posted @ 2016-12-13 21:03 happy_codes 阅读(292) 评论(0) 推荐(0) 编辑
摘要: Discrete Function There is a discrete function. It is specified for integer arguments from 1 to N (2 ≤ N ≤ 100000). Each value of the function is long 阅读全文
posted @ 2016-12-13 20:36 happy_codes 阅读(300) 评论(0) 推荐(0) 编辑
摘要: Conductors Background Everyone making translations from English to Russian knows an English phrase "Naked conductor runs along the bus". It has two ve 阅读全文
posted @ 2016-12-13 20:25 happy_codes 阅读(228) 评论(0) 推荐(0) 编辑