摘要: Q:There are a row of houses, each house can be painted with three colors red, blue and green. The cost of painting each house with a certain color is different. You have to paint all the houses such that no two adjacent houses have the same color. You have to paint the houses with minimum cost. How 阅读全文
posted @ 2012-03-22 23:03 百分百好牛 阅读(253) 评论(0) 推荐(0) 编辑