Question: 7 . ( 3 0 % ) How to deploy artillery units, and on the premise of preventing accidental damage, how many artillery units of

7.(30%)
How to deploy artillery units, and on the premise of
preventing accidental damage, how many artillery
units of our army can be placed in the entire map
area.
The first line of input contains two positive integers separated
by spaces, representing N and M respectively.
The next N lines, each containing M consecutive characters,
represent the data of each line in the map in sequence.
7 . ( 3 0 % ) How to deploy artillery units, and

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!