摘要: DescriptionFarmer John wants to repair a small length of the fence around the pasture. He measures the fence and finds that he needs N (1 ≤ N ≤ 20,000) planks of wood, each having some integer length Li (1 ≤ Li ≤ 50,000) units. He then purchases a single long board just long enough to saw into the N 阅读全文
posted @ 2013-08-19 17:00 孔凡凯凯 阅读(320) 评论(0) 推荐(0) 编辑
摘要: DescriptionSevere acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recognized as a global threat in mid-March 2003. To minimize transmission to others, the best strategy is to separate the suspects from others. In the Not-Spreading-Your-Sickness University (NSYSU), 阅读全文
posted @ 2013-08-19 14:56 孔凡凯凯 阅读(286) 评论(0) 推荐(0) 编辑
摘要: Crawling in process... Crawling failed DescriptionYou have devised a new encryption technique which encodes a message by inserting between its characters randomly generated strings in a clever way. Because of pending patent issues we will not discuss in detail how the strings are generated and inser 阅读全文
posted @ 2013-08-19 14:52 孔凡凯凯 阅读(319) 评论(0) 推荐(0) 编辑
摘要: DescriptionThe Genographic Project is a research partnership between IBM and The National Geographic Society that is analyzing DNA from hundreds of thousands of contributors to map how the Earth was populated. As an IBM researcher, you have been tasked with writing a program that will find commonali 阅读全文
posted @ 2013-08-19 14:51 孔凡凯凯 阅读(259) 评论(0) 推荐(0) 编辑