Math day problem

3 test cases successfully passed but 2 test cases are wrong. even i have used fast exponentiation and long long int. then what can be the error