Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop Other
Title: Painters-Problem Download
 Description: 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 is a painter and he wants to paint all the bricks yellow. But there is something wrong with Bob' s brush. Once he uses this brush to paint brick (i, j), the bricks at (i, j), (i-1, j), (i+1, j), (i, j-1) and (i, j+1) all change their color. Your task is to find the minimum number of bricks Bob should paint in order to make all the bricks yellow.
 Downloaders recently: [More information of uploader ]
 To Search:
File list (Check if you may need any files):
 

Painter's Problem\涂格子.cpp
Painter's Problem
    

CodeBus www.codebus.net