Failing multipler test cases

please tell what is wrong with code and how to solve this

hello @chitranshanmol07
image

a) use long long in place of int

b) use ->
a=(a*a)%c
ans=(ans*a)%c