Https://ide.codingblocks.com/s/169142 what's the error

it is npt passing all test cases only some

Hello @Gautampriyadarshi,

There are few mistakes in your code:


I have correct all. Refer to the comments.

Hope, this would help.
Give a like if you are satisfied.

1 Like