摘要: ZOJ Problem Set - 1009EnigmaTime Limit: 10 Seconds Memory Limit: 32768 KBIn World War II, Germany once used an electronic encryption machine called Enigma, which played a decisive role in the initial victories of Nazi Germany. It was proved to be one of the most reliable encryption systems in histor 阅读全文
posted @ 2013-07-08 21:53 湖心北斗 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 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) 编辑