枚举法(一)
枚举法 主要需要尽量减小枚举的次数,排除不必要的枚举。可通过事先排好顺序等方法。POJ 1681Painter's ProblemDescriptionThere is a square wall which is made of n*n small square bricks. Some bricks are white while some bricks are yellow. Bob is ...