摘要: Linear Cellular AutomataA biologist is experimenting with DNA modification of bacterial colonies being grown in a linear array of culture dishes. By changing the DNA, he is able ``program" the bacteria to respond to the population density of the neighboring dishes. Population is measured on a f 阅读全文
posted @ 2011-07-23 20:47 AC_Von 阅读(575) 评论(0) 推荐(1) 编辑
摘要: Number SequenceTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 40967Accepted Submission(s): 8785Problem DescriptionA number sequence is defined as follows:f(1) = 1, f(2) = 1, f(n) = (A * f(n - 1) + B * f(n - 2)) mod 7.Given A, B, and n, you are to 阅读全文
posted @ 2011-07-23 20:17 AC_Von 阅读(259) 评论(0) 推荐(0) 编辑
摘要: Let the Balloon RiseTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 30537Accepted Submission(s): 9980Problem DescriptionContest time again! How excited it is to see balloons floating around. But to tell you a secret, the judges' favorite time i 阅读全文
posted @ 2011-07-23 19:21 AC_Von 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 注:网上搜的第一篇1001这个就不用说了吧1002简单的大数1003DP经典问题,最大连续子段和1004简单题1005找规律(循环点)1006感觉有点BT的题,我到现在还没过1007经典问题,最近点对问题,用分治1008简单题1009贪心1010搜索题,剪枝很关键10111012简单题1013简单题(有个小陷阱)1014简单题1015可以看作搜索题吧1016经典的搜索1017简单数学题1018简单数学题1019简单数学题1020简单的字符串处理1021找规律的数学题1022数据结构的题(栈的应用)1023特殊的数(Catalan Number)1024经典DP,最大M子段和1025经典DP,最 阅读全文
posted @ 2011-07-23 18:46 AC_Von 阅读(441) 评论(0) 推荐(1) 编辑
摘要: SnowflakeSnowSnowflakesTime Limit: 4000MSMemory Limit: 65536KTotal Submissions: 18478Accepted: 4770DescriptionYou may have heard that no two snowflakes are alike. Your task is to write a program to determine whether this is really true. Your program will read information about a collection of snowfl 阅读全文
posted @ 2011-07-23 17:27 AC_Von 阅读(356) 评论(0) 推荐(1) 编辑
摘要: Message FloodTime Limit:1500MS Memory Limit:65536KTotal Submit:284 Accepted:40DescriptionWell, how do you feel about mobile phone? Your answer would probably be something like that "It's so convenient and benefits people a lot". However, If you ask Merlin this question on the New Year& 阅读全文
posted @ 2011-07-23 14:51 AC_Von 阅读(463) 评论(0) 推荐(0) 编辑
摘要: Hangman JudgeIn ``Hangman Judge,'' you are to write a program that judges a series of Hangman games. For each game, the answer to the puzzle is given as well as the guesses. Rules are the same as the classic game of hangman, and are given as follows:The contestant tries to solve to puzzle by 阅读全文
posted @ 2011-07-23 08:22 AC_Von 阅读(524) 评论(0) 推荐(0) 编辑