CF 240F TorCoder(线段树) (三)
,a+cnt[i]/2-1,i);
update(1,b-cnt[i]/2+1,b,i);
a+=cnt[i]/2;
b-=cnt[i]/2;
}
}
}
}
}
slove(1);putchar('\n');
return 0;
}