Codeforces Round 900 (Div. 3)--E. Iva & Pav(前缀和+二分)
IvaandPavareafamousSerbiancompetitiveprogrammingcouple.InSerbia,theycallPav"papuca"andthat'swhyhewillmakeallofIva'swishescometrue.IvagavePavanarrayaofnelements.Let'sdefinef(l,r)=al&al+1&…&ar(here&&den