My half test case is passing why?

@ayushwahi3005
you cann’t directly compute pow(a%c,b%c) since a and b can be very large. It is impossible to compute power using pow() function. Consider testcase
100 100 103
you can never compute(100,100) directly. Use modular exponentiation algorithm