Code works perfectly on ide

The code works perfectly on coding blocks ide


But when i submit it shows wrong answer

@ankush.bhardwaj0 hey ankush try to handle this case
1
4
12 8 -3 -5
your output is No but output is Yes

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.