I am getting WA this problem but could not find any critical case. Give some case. Thanks advance. . problem: https://uva.onlinejudge.org/external/125/12501.pdf my code: https://pastebin.com/Xk8mMJPr
Segment tree and uva 12501
I am getting WA this problem but could not find any critical case. Give some case. Thanks advance. . problem: https://uva.onlinejudge.org/external/125/12501.pdf my code: https://pastebin.com/Xk8mMJPr