My code
https://paste.ofcode.org/bXiWgnRUPNRCLpY3Ax5r59
Code of Editorial
https://paste.ofcode.org/36mjjaK7t6Jws4sJN2Q8yRp
My code
https://paste.ofcode.org/bXiWgnRUPNRCLpY3Ax5r59
Code of Editorial
https://paste.ofcode.org/36mjjaK7t6Jws4sJN2Q8yRp
One one test case is getting passed
and in rest others,I am getting Run error
@abhinaygupta98
logically ur code is correct,
even it is passing all cases when i code in c++ language.
i guess there is some issue with java checker editorial code is also showing run error.
cpp code submission.
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.