Pl debug my program

Question-:CMB01 Problem - CodeChef
My Code-:CodeChef: Practical coding for everyone

Try this input:

3
24 1
24 1
24 2

thank you , Now its working

Is their any way to see the test cases as we see in codeforces?

No