fire-Net

所属分类:Windows编程
开发工具:Visual C++
文件大小:1058KB
下载次数:6
上传日期:2011-03-16 13:38:53
上 传 者2984736
说明:  你的任务是编写一个程序,给定了一个地图上描述,计算出可在城市置于法律的配置碉堡的最大数量。 输入文件包含一个或多个图的描述,通过一个包含数字0的信号文件的端线之后。每个地图开始描述一个包含一个正整数n的是城市的大小行 n将至多4。接下来的n行每一个描述的地图行, 。 表明一个开放的空间和一个大写的 X 表示了墙上。有在输入文件中没有空格。
(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. )

文件列表:
火力网\Debug\fireNet.exe (544866, 2011-03-16)
火力网\Debug\fireNet.ilk (784368, 2011-03-16)
火力网\Debug\fireNet.obj (212078, 2011-03-16)
火力网\Debug\fireNet.pch (3104972, 2011-03-14)
火力网\Debug\fireNet.pdb (1106944, 2011-03-16)
火力网\Debug\vc60.idb (91136, 2011-03-16)
火力网\Debug\vc60.pdb (135168, 2011-03-16)
火力网\fireNet.cpp (3169, 2011-03-16)
火力网\fireNet.doc (29696, 2011-03-14)
火力网\fireNet.dsp (3413, 2011-03-14)
火力网\fireNet.dsw (522, 2011-03-14)
火力网\fireNet.ncb (41984, 2011-03-16)
火力网\fireNet.opt (53760, 2011-03-16)
火力网\fireNet.plg (1173, 2011-03-16)
火力网\Debug (0, 2011-03-16)
火力网 (0, 2011-03-16)

近期下载者

相关文件


收藏者