Where I am wrong in the code

Question is - :

my code - :
https://www.codechef.com/viewsolution/30738993

n<=10^13

1 Like

then how can i access it. thanks btw :upside_down_face: