ttached segment font-content"><div style="position: relative; overflow: hidden;"><div class=content><div>
<div>
<div>第一行包含整数N和M。接下来的N行每行包含M个字符，形成网格描述区域,&lsquo;.&rsquo;表示正常的草地，&lsquo;X&rsquo;表示沼泽</div>
</div>
<div></div>
</div>
<div></div>
<p></p></div></div></div></div></div><div class="row"><div class="column"><h4 class="ui top attached block header">输出格式</h4><div class="ui bottom attached segment font-conten