Why is wrong in my code >?

the output matches the example test case output so i think something is wrong with codingblocks interface kindly check


above is my code

hi @devyanshbansal123 which question it is?

Three sum pair is the question i am talking about

@devyanshbansal123 Is the question in your course? Then ask there we get the question right now I’m getting rainwater one

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.