In the Queens, Knights and Pawns problem https://www.spoj.pl/problems/QKP/ the example does not show accepting the number of test cases , although the problem does mention that the code will be tested for multiple cases.Also the number of test cases do not find any mention !!
AJ
The number of test cases is not important, except in noting that there is more than one.