iv></div>
<div>T&lt;=2,n,Q&lt;=100000</div>
<div>a_i,x &gt;=0</div>
<div>a_i,x is in the range of int32(C++)</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-content"><div style="position: relative; overflow: hidden;"><div class=content><div>
<div>For each test case, output a line with n integers separated by a single space representing the final sequence.</div>
<div>Ple