ative; overflow: hidden;"><div class=content><div><span style="font-size: 12pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size: 12pt">包含</span><span style="font-size: 12pt">T</span><span style="font-size: 12pt">个数，每个一行，即对于每一组数据的最少操作次数。</span></div>
<div><span style="font-size: 12pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size: 12pt">如果无法完成，请输出</span><span style="font-size: 12pt">-1</span></div