Can someone check my conditions in this problem, I’m a bit confused about it
https://ide.codingblocks.com/s/143224
Piyush and Magical Park
@prashantverma.vn Your code is giving incorrect output even for sample test case.
https://ide.codingblocks.com/s/70457 Refer this explanation to see how to reach the desired output.
There were some minor mistakes in Line 4 and 5. Check it now.
It’s giving incorrect answer…
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.
