2012年9月4日

(Codeforces Round #136 (Div. 2))A. Little Elephant and Function(递归分析,简单)

摘要: A. Little Elephant and Functiontime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe Little Elephant enjoys recursive functions.This time he enjoys the sorting function. Let a is a permutation of an integers from 1 to n, inclusive, and ai denotes t 阅读全文

posted @ 2012-09-04 21:44 铁树银花 阅读(302) 评论(0) 推荐(0) 编辑

Red and Black(DFS入门题)

摘要: Red and BlackTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 4260Accepted Submission(s): 2766原题链接:点击打开链接Problem DescriptionThere is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a blac 阅读全文

posted @ 2012-09-04 20:42 铁树银花 阅读(262) 评论(0) 推荐(0) 编辑

Tempter of the Bone(DFS + 奇偶剪枝,好题)

摘要: Tempter of the BoneTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 39780Accepted Submission(s): 10761原题链接:点击打开链接Problem DescriptionThe doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the maze began 阅读全文

posted @ 2012-09-04 17:04 铁树银花 阅读(719) 评论(0) 推荐(0) 编辑

导航