ZOJ 3780 Paint the Grid Again(拓扑排序)
ZOJ 3780 Paint the Grid Again
Leo has a grid with N × N cells. He wants to paint each cell with a specific color (either black or white).
Leo has a magical brush which can paint any row with black
原创
2017-04-17 23:47:03 ·
370 阅读 ·
0 评论