 4 4<br />
    1<br />
    2 2<br />
    3<br />
    2 2 0<br />
    2 2 1<br />
    2 2 3<br />
 <br />
</span></div></code></pre></div><h4>样例输出</h4><div class="ui existing segment"><pre style="margin-top:0; margin-bottom:0;"><code class="lang-plain">
			<div class=content><span class=sampledata>    0.000<br />
    1.414<br />
    -1<br />
 <br />
【数据说明】<br />
 20% 0<=w,h<=100<br />
1<=N,t<=1000<br />
60% 1<=t<=200000<br />
100% 0<=w,h<=1000<br />
1<=N,t<=1000000</span>