Factorial problem question

iska code kaise kaam kar rha hai nhi aa rha hai samajh please explain on phone 8279454261

Which code?
Please share the code via ide.codingblocks.com and provide complete url so that i can have a look.

the code that is given in factorial editorial in course i not able to understand the wrorking of code

We check the primes and their powers in both N and K.
Then we just need to compare that how many are just sufficient to be a factor of n.

Simply take a small example and dry run on paper and pen.
Set of prime factors in k^x should be a subset of those in n!

Try to understand the logic first before you see the code. Coding that won’t be difficult.

Can you please explain this with example