Codeforecs 65D. Harry Potter and the Sorting Hat 一种新的记忆化搜索方式
摘要:
D. Harry Potter and the Sorting Hattime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAs you know, Hogwarts has four houses: Gryffindor, Hufflepuff, Ravenclaw and Slytherin. The sorting of the first-years into houses is done by the Sorting Hat. The 阅读全文
posted @ 2013-04-06 20:02 电子幼体 阅读(271) 评论(0) 推荐(0) 编辑