my program is getting ac only for 1 task of the #1 subtask plz help ..qustion april chllenge15 problem code FRMQ chef and array

http://www.codechef.com/viewsolution/6735731

noone is able to view your code as it is an ongoing contest

@buckwheater , you are not allowed to share your code during ongoing contests. If your code is causing you problems, you will have to solve it yourself, or ask for help indirectly with some dummy code that is not related to your original answer.

But, you are not allowed to reveal your algorithm, or any other detail about your code.

So, you will have to wait till the contest is over to ask for help.

BTW, the link you provided is not accessible to anyone until the contest is over, so your question is pretty much useless right now.