摘要: B. Find Marbletime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya and Vasya are playing a game... 阅读全文
posted @ 2013-03-22 14:57 Double_win 阅读(321) 评论(0) 推荐(0) 编辑
摘要: A. Slightly Decreasing Permutationstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPermutation p is an ordered set of integers p1, p2, ..., pn, consisting of n distinct positive integers, each of them doesn't exceed n. We'll denote the i- 阅读全文
posted @ 2013-03-22 14:24 Double_win 阅读(389) 评论(0) 推荐(0) 编辑