Although logically the corresponding output to input is right the judge is still giving wrong answer on second test case . Please revert asap.
Second testcase is giving wrong answer
Hey,
I don’t know what you have coded.
But try for this input
1
-2
-88
-42
-100
It should give ans as 1
Thanks
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.