枚舉法(一)

枚舉法 主要需要儘量減小枚舉的次數,排除不必要的枚舉。可通過事先排好順序等方法。 POJ 1681 Painter's Problem Description There is a square wall which is made of n*n small square bricks. Some bricks are white while some bricks are yellow. Bob
相關文章
相關標籤/搜索