2014年8月29日
摘要: What really happens when you navigate to a URLAs a software developer, you certainly have a high-level picture of how web apps work and what kinds of ... 阅读全文
posted @ 2014-08-29 00:34 zmlctt 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 题设:有N瓶水,其中有一瓶水有剧毒,如果小白鼠喝了会在24小时的时候死亡。问:用多少只小白鼠能够检测出哪瓶水有剧毒?要求:用的小白鼠数量少并且用时要短,并给出合理的过程与结论。我的解题思路如下:这是一个二进制开关(0/1)问题,类比于海明码校验算法,将药水进行二进制编号(0000000,000000... 阅读全文
posted @ 2014-08-29 00:25 zmlctt 阅读(1747) 评论(0) 推荐(0) 编辑