an></div>
<div><span style="font-size: medium">&nbsp;</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><span style="font-size: medium">第一行两个数n,m。</span></div>
<div><span style="font-size: medium">接下来一行n个正整数a<sub>1</sub>,a<sub>2</sub>,&hellip;,a<sub>n</sub>。</span></