摘要: Red and BlackTime Limit:2 Seconds Memory Limit:65536 KBThere is a rectangular room, covered with square tiles. Each tile is colored either red or blac... 阅读全文
posted @ 2014-07-31 10:28 Run_dream 阅读(114) 评论(0) 推荐(0) 编辑
摘要: Knight MovesTime Limit:1000MSMemory Limit:30000KTotal Submissions:21791Accepted:10155DescriptionBackgroundMr Somurolov, fabulous chess-gamer indeed, a... 阅读全文
posted @ 2014-07-30 14:44 Run_dream 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 1022: 菜鸟和大牛Time Limit:1 SecMemory Limit:128 MBSubmit:193Solved:89[Submit][Status][Web Board]Descriptionblue和AutoGerk是好朋友。他们的相同点是都喜欢研究算法,不同点是AutoGerk已是... 阅读全文
posted @ 2014-07-30 12:18 Run_dream 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 1256: 天朝的单行道Time Limit:1 SecMemory Limit:128 MBSubmit:159Solved:46[Submit][Status][Web Board]Description 在另一个平行宇宙中,有一个神奇的国度名叫天朝。天朝一共有N个城市(标号分别为1, 2, ... 阅读全文
posted @ 2014-07-29 14:52 Run_dream 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 1240: 低调,低调。Time Limit:2 SecMemory Limit:1 MBSubmit:146Solved:25[Submit][Status][Web Board]DescriptionStaginner总是喜欢把自已的名字写在他出的题目里。CSU-ACM协会的会长想,这孩子是不是... 阅读全文
posted @ 2014-07-29 08:59 Run_dream 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 畅通工程续Time Limit: 3000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 27010Accepted Submission(s): 9742Problem Desc... 阅读全文
posted @ 2014-07-28 16:59 Run_dream 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 1004: Xi and BoTime Limit:1 SecMemory Limit:128 MBSubmit:273Solved:93[Submit][Status][Web Board]DescriptionBo has been in Changsha for four years. How... 阅读全文
posted @ 2014-07-28 06:40 Run_dream 阅读(154) 评论(0) 推荐(0) 编辑
摘要: Descriptionnfish, numbered from1ton, live in a lake. Every day right one pair of fish meet, and the probability of each other pair meeting is the same... 阅读全文
posted @ 2014-07-28 00:19 Run_dream 阅读(552) 评论(0) 推荐(0) 编辑
摘要: DescriptionYou've decided to carry out a survey in the theory of prime numbers. Let us remind you that a prime number is a positive integer that has e... 阅读全文
posted @ 2014-07-27 17:43 Run_dream 阅读(184) 评论(0) 推荐(0) 编辑
摘要: DescriptionFor each prefix with length P of a given string S,ifS[i]=S[i+P] for i in [0..SIZE(S)-p-1],then the prefix is a “period” of S. We want to al... 阅读全文
posted @ 2014-07-27 17:16 Run_dream 阅读(163) 评论(0) 推荐(0) 编辑