摘要: Problem AHashmat the brave warriorInput:standard inputOutput:standard outputHashmat is a brave warrior who with his group of young soldiers moves from one place to another to fight against his opponents. Before fighting he just calculates one thing, the difference between his soldier number and the 阅读全文
posted @ 2013-01-27 16:08 天际。 阅读(234) 评论(0) 推荐(0) 编辑
摘要: The 3n+ 1 problemBackgroundProblems in Computer Science are often classified as belonging to a certain class of problems (e.g., NP, Unsolvable, Recursive). In this problem you will be analyzing a property of an algorithm whose classification is not known for all possible inputs.The ProblemConsider t 阅读全文
posted @ 2013-01-27 15:46 天际。 阅读(291) 评论(0) 推荐(0) 编辑