Why the Accepted Solutions of all the users are Hidden ???
question link → CodeChef: Practical coding for everyone
I think pre-Requisite for this Question is Binary Indexed tree.
Can someone provide an editorial or few hints for solving this question ?