Modular exponenation


i was getting 6 testcases wrong.is there any alternate way for modular exponenation

@Chandra123 https://ide.codingblocks.com/s/142006

Refer this. You have to use the property of MOD as taught in lectures.