same pinch
Yaā¦I forgot himā¦He must know.
I think he is not online now. I already tagged him at the start only.
Iād call it undefined behavior, but I donāt know what Iām talking about eitherā¦ trust @ssjgz
wait for himā¦I am going to sleep. Good Night!!
Let leave this to cc and cf and gud night
@galencolin a small question help me plzz ā¦
Given two no. A and B check whether A! % B ==0 ? or not
0<= A , B <= 10^(18) ?
How can i do this
Was about to answer, but first, source please
I increase A and B to MAX ie., 10^ 18 then how can i solve
I use this : https://www.geeksforgeeks.org/largest-power-k-n-factorial-k-may-not-prime/
But it works only for N upto 10^12
and also above GFG approach not worked for this questionā¦how can i do this and even for bigger constraints
Ok the i use above link if i need for bigger constraints but for now how can i solve , the gfg approach gave TLE