摘要: Description The Little Elephant very much loves sums on intervals. This time he has a pair of integers l and r (l ≤ r). The Little Elephant has to fin 阅读全文
posted @ 2016-07-30 17:26 樱花落舞 阅读(263) 评论(0) 推荐(0) 编辑
摘要: Description The Little Elephant loves sortings. He has an array a consisting of n integers. Let's number the array elements from 1 to n, then the i-th 阅读全文
posted @ 2016-07-30 16:54 樱花落舞 阅读(297) 评论(0) 推荐(0) 编辑
摘要: Description The Little Elephant loves Ukraine very much. Most of all he loves town Rozdol (ukr. "Rozdil"). However, Rozdil is dangerous to settle, so 阅读全文
posted @ 2016-07-30 12:32 樱花落舞 阅读(277) 评论(0) 推荐(0) 编辑