poj-2170 Lattice Animals *****

/* * 2170.cpp * * 很繁的一個題。。。 * * dfs + hash * 這個速度很慢, 不過答案應該都是對的, 先貼上來吧。。 最近沒時間作了 。 之後再改。。 * * 能夠改進的有 搜索方式 和 hash函數 * * Created on: 2011-10-17 */ #include <cstdio> #include <cstring> using n
相關文章
相關標籤/搜索