摘要: 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 阅读(323) 评论(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 阅读(391) 评论(0) 推荐(0) 编辑