随笔分类 -  Codeforces解题报告

Codeforces主页:Codeforces.com
摘要: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 阅读(335) 评论(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 阅读(403) 评论(0) 推荐(0)
摘要:Little Petya very much likes computers. Recently he has received a new "Ternatron IV" as a gift from his mother. Unlike other modern computers, "Terna 阅读全文
posted @ 2012-07-26 17:41 Double_win 阅读(232) 评论(0) 推荐(0)
摘要:B. Colorful FieldFox Ciel saw a large field while she was on a bus. The field was a n × m rectangle divided into 1 × 1 cells. Some cells were wasteland, and other each cell contained crop plants: either carrots or kiwis or grapes.After seeing the field carefully, Ciel found that the crop p 阅读全文
posted @ 2012-07-25 17:34 Double_win 阅读(370) 评论(0) 推荐(0)