Error in Horrible Queries problem

I am unable to find the bug in my code for the implementation of segment tree problem

You can have a look at my solution. bDQWWm - Online C++ Compiler & Debugging Tool - Ideone.com

If you have any doubts, you can ask in the comment section below.

Hi artist again :slight_smile:

finally you have developed you function i gave you suggestion last time but there are some bugs i fixed them and some suggestion are in code as comment.your code got AC :slight_smile: CGJrCK - Online C++0x Compiler & Debugging Tool - Ideone.com

1 Like

cheap fifa 16 points

Please help me in finding the bug too _/_ .I’ve been debugging it since a long time but unable to find any error.

Hi prrateekk

here is your accepted code :slight_smile: XtrJIY - Online C++0x Compiler & Debugging Tool - Ideone.com

Thank you ,Thanks a lot