low: hidden;"><div class=content><div>The first line contains N and Q.The next line contains N distinct integers, each in the range 0&hellip;1,0</div>
<div>00,000,000 indicating that there is a haybale at each of those locations.Each of the next Q lines co</div>
<div>ntains two integers AA and BB (0&le;A&le;B&le;1,000,000,000) giving a query for the number of haybales bet</div>
<div>ween A and B, inclusive.</div>
<div></div>
<p></p></div></div></div></div></div><div class="row"><div class="column"><h4 