Question not getting submitted

I HAVE DONE THIS EARLIER THIS QUES IS NOT GETTING SUBMITTED AND ITS NOT SHOWING ANY RESULT

Hey it is mentioned in question that print the numbers before cumulative sum becomes negative, which mean sum = 0 is acceptable so instead of if(sum > 0), if(sum >= 0) would come, moreover it is mentioned in question that input integers could be between -1000 and 1000 so both the numbers are included which means if(i>(-1000) && i<1000) would change to if(i>=(-1000) && i<=1000).
I hope i have cleared your doubt. If so please mark the doubt as resolved else feel free to ask anything.

Hey @Madhavendra-Gupta-2240591552663161 i hope i have cleared your doubt if so please mark the doubt as resolved.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.