MULTHREE problem in DSA Learning series

I am getting a wrong answer error in the MULTHREE problem. Can anyone find where is the error in my approach.

https://www.codechef.com/viewsolution/32417289

Thanks in advance

1 Like