Trying to solve 295A - Greg and Array using segment tree. Don't have any idea why I am getting WA on case 11.
Here is my code: 295A
Segment Tree (295A)
Trying to solve 295A - Greg and Array using segment tree. Don't have any idea why I am getting WA on case 11.
Here is my code: 295A