摘要:
brute force用第一个字符串从长到短生成所有的子串, 并和其他字符串匹配。DescriptionThe Genographic Project is a research partnership between IBM and The National Geographic Society that is analyzing DNA from hundreds of thousands o... 阅读全文
摘要:
brutal force1. 生成字典, 并按长度排序。2. 对于给定单词, 取得区间 [单词长度 - 1, 单词长度 + 1], 并匹配。3. 如果存在完全匹配的单词, 打印输出, 否则把可能的单词放到集合中。DescriptionYou, as a member of a development team for a new spell checking program, are to wri... 阅读全文
摘要:
Time Limit: 1000MSMemory Limit: 65536KTotal Submissions: 2598Accepted: 793DescriptionThe Borg is an immensely powerful race of enhanced humanoids from the delta quadrant of the galaxy. The Borg collec... 阅读全文
摘要:
Time Limit: 1000MSMemory Limit: 10000KTotal Submissions: 11276Accepted: 4707DescriptionFarmer John has been elected mayor of his town! One of his campaign promises was to bring internet connectivity t... 阅读全文
摘要:
Time Limit: 1000MSMemory Limit: 65536KTotal Submissions: 6912Accepted: 3284DescriptionThe island nation of Flatopia is perfectly flat. Unfortunately, Flatopia has no public highways. So the traffic is... 阅读全文
摘要:
Time Limit: 2000MSMemory Limit: 65536KTotal Submissions: 5256Accepted: 1851DescriptionAdvanced Cargo Movement, Ltd. uses trucks of different types. Some trucks are used for vegetable delivery, other f... 阅读全文