I had tried to solved maxln problem. It seems to works just fine and gives correct answer for the corner cases as well. But is giving WA on soon. Can anyone please help ??? Here’s the code: /* Code deleted*/
I submitted your code from a test account and got accepted.
I’m so sorry. I think I might have tweaked my code a little bit after the submission. But thanks :))