上一页 1 ··· 8 9 10 11 12 13 下一页
摘要: ZOJ Problem Set - 1005JugsTime Limit: 2 Seconds Memory Limit: 65536 KB Special Judge In the movie "Die Hard 3", Bruce Willis and Samuel L. Jackson were confronted with the following puzzle. They were given a 3-gallon jug and a 5-gallon jug and were asked to fill the 5-gallon jug with exact 阅读全文
posted @ 2013-07-08 15:47 湖心北斗 阅读(166) 评论(0) 推荐(0) 编辑
摘要: ZOJ Problem Set - 1006Do the UntwistTime Limit: 2 Seconds Memory Limit: 65536 KBCryptography deals with methods of secret communication that transform a message (theplaintext) into a disguised form (the ciphertext) so that no one seeing the ciphertext will be able to figure out the plaintext except 阅读全文
posted @ 2013-07-08 07:06 湖心北斗 阅读(128) 评论(0) 推荐(0) 编辑
摘要: ZOJ Problem Set - 1003Crashing BalloonTime Limit: 2 Seconds Memory Limit: 65536 KBOn every June 1st, the Children's Day, there will be a game named "crashing balloon" on TV. The rule is very simple. On the ground there are 100 labeled balloons, with the numbers 1 to 100. After the refe 阅读全文
posted @ 2013-07-07 22:46 湖心北斗 阅读(156) 评论(0) 推荐(0) 编辑
摘要: ZOJ Problem Set - 1078Palindrom NumbersTime Limit: 2 Seconds Memory Limit: 65536 KBStatement of the Problem We say that a number is a palindrom if it is the sane when read from left to right or from right to left. For example, the number 75457 is a palindrom.Of course, the property depends on the ba 阅读全文
posted @ 2013-07-04 01:10 湖心北斗 阅读(178) 评论(0) 推荐(0) 编辑
摘要: ZOJ Problem Set - 1067Color Me LessTime Limit: 2 Seconds Memory Limit: 65536 KBProblem A color reduction is a mapping from a set of discrete colors to a smaller one. The solution to this problem requires that you perform just such a mapping in a standard twenty-four bit RGB color space. The input co 阅读全文
posted @ 2013-07-04 00:26 湖心北斗 阅读(209) 评论(0) 推荐(0) 编辑
摘要: ZOJ Problem Set - 1058Currency ExchangeTime Limit: 2 Seconds Memory Limit: 65536 KB When Issac Bernand Miller takes a trip to another country, say to France, he exchanges his US dollars for French francs. The exchange rate is a real number such that when multiplied by the number of dollars gives the 阅读全文
posted @ 2013-07-03 23:47 湖心北斗 阅读(178) 评论(0) 推荐(0) 编辑
摘要: ZOJ Problem Set - 1049I Think I Need a HouseboatTime Limit: 2 Seconds Memory Limit: 65536 KBFred Mapper is considering purchasing some land in Louisiana to build his house on. In the process of investigating the land, he learned that the state of Louisiana is actually shrinking by 50 square miles ea 阅读全文
posted @ 2013-07-03 19:02 湖心北斗 阅读(102) 评论(0) 推荐(0) 编辑
摘要: ZOJ Problem Set - 1045HangOverTime Limit: 2 Seconds Memory Limit: 65536 KBHow far can you make a stack of cards overhang a table? If you have one card, you can create a maximum overhang of half a card length. (We're assuming that the cards must be perpendicular to the table.) With two cards you 阅读全文
posted @ 2013-07-03 18:07 湖心北斗 阅读(103) 评论(0) 推荐(0) 编辑
摘要: ZOJ Problem Set - 1037GridlandTime Limit: 2 Seconds Memory Limit: 65536 KBBackground For years, computer scientists have been trying to find efficient solutions to different computing problems. For some of them efficient algorithms are already available, these are the "easy" problems like 阅读全文
posted @ 2013-07-03 15:46 湖心北斗 阅读(154) 评论(0) 推荐(0) 编辑
摘要: RailsTime Limit: 2 Seconds Memory Limit: 65536 KBThere is a famous railway station in PopPush City. Country there is incredibly hilly. The station was built in last century. Unfortunately, funds were extremely limited that time. It was possible to establish only a surface track. Moreover, it turned 阅读全文
posted @ 2013-07-01 17:20 湖心北斗 阅读(166) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 下一页