i have tested a lot of cases on my system and i m gettin right answer…bt i m getting WA for my solution on submission plz help… following is the link to my solution CodeChef: Practical coding for everyone
the problem link is CHFQUEUE Problem - CodeChef
Thank you so much. That was a small problem but was stucked in it from 2 days.