please tell what is wrong with code and how to solve this
hello @chitranshanmol07
a) use long long in place of int
b) use -> a=(a*a)%c ans=(ans*a)%c