Problem Container Containing Most Water, submitted at online.codingblocks but not at hack.codingblocks.com

Hi,

I have submitted the code successfully at online.codingblock and all the test cases have been passed but the same code passed only one test on hack.codingblocks.com.
Can anyone help here what test cases are getting failed.

Thanks

hello @mohanman2210
the issue might be with thr checker.

share the problem link (on hackerblocsk) and ur solution
i will check

Hi,

Here is the code.

Here is the code https://ide.codingblocks.com/s/294453

image
it is working there as well

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.