https://www.codechef.com/viewsolution/34549525
This is my solution to the problem LAPIN.
can anyone please help me what is the bug here. i solved this after seeing the live discussion.
Hope I am not breaking any code of conduct bu sharing my code. Please help