Error Correction

Apr 9, 2019 at 5:35am


It is failing for some of the test cases.But i tried my best to figured out but it did not work well.Can Anybody gives the test cases where it is going to fail?

[code]
Last edited on Apr 15, 2019 at 12:02pm
Apr 9, 2019 at 5:35am
So here is the approach:

Last edited on Apr 15, 2019 at 12:03pm
Apr 9, 2019 at 5:56am
Same again.
http://www.cplusplus.com/forum/beginner/252024/

But you don't even read T (the number of test cases) properly.

Topic archived. No new replies allowed.