lt;=mi&lt;=2000</div>
<div>（2&lt;=n&lt;=1000000）</div></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>一行包含两个数由一个空格分割。</div>
<div>最小的篱笆长度和最小的移动的石子的重量和</div></div></div></div></div></div><div class="row"><div class="column"><h4 class