2013年4月16日

Look Up

摘要: Problem 1845 Look UpAccept: 173Submit: 543Time Limit: 1000 mSecMemory Limit : 32768 KBProblem DescriptionN (1 <= N <= 100,000) monkeys in the mountains, conveniently numbered 1..N, are once again standing in a row. Monkey i has height Hi(1 <= Hi<= 1,000,000).Each monkey is looking to his 阅读全文

posted @ 2013-04-16 17:58 铁树银花 阅读(456) 评论(0) 推荐(0) 编辑

Codeforces Round #179 (Div. 2) A. Yaroslav and Permutations(简单)

摘要: A. Yaroslav and Permutationstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYaroslav has an array that consists of n integers. In one second Yaroslav can swap two neighboring array elements. Now Yaroslav is wondering if he can obtain an array whe 阅读全文

posted @ 2013-04-16 09:46 铁树银花 阅读(679) 评论(0) 推荐(0) 编辑

导航