Description: Your task is to write a program that, given a description of a map, calculates the maximum number of blockhouses that can be placed in the city in a legal configuration.
The input file contains one or more map descriptions, followed by a line containing the number 0 that signals the end of the file. Each map description begins with a line containing a positive integer n that is the size of the city n will be at most 4. The next n lines each describe one row of the map, with a . indicating an open space and an uppercase X indicating a wall. There are no spaces in the input file.
To Search:
File list (Check if you may need any files):
火力网\Debug\fireNet.exe
......\.....\fireNet.ilk
......\.....\fireNet.obj
......\.....\fireNet.pch
......\.....\fireNet.pdb
......\.....\vc60.idb
......\.....\vc60.pdb
......\fireNet.cpp
......\fireNet.doc
......\fireNet.dsp
......\fireNet.dsw
......\fireNet.ncb
......\fireNet.opt
......\fireNet.plg
......\Debug
火力网