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 http://www.codechef.com/viewsolution/5578916
the problem link is http://www.codechef.com/problems/CHFQUEUE