t-indent: -18pt"><span style="font-size: medium">●<span style="font: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </span>把结果输出</span></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-content"><div style="position: relative; overflow: hidden;"><div class=content><div>&nbsp;<span style="font-size: medium">第一行是空地的数目n，2&le;n&le;5000。以下n-1行，每行都�