can anyone explain how the editorial solution is working
A factorail problem
for every prime , you have to take out its maximum power so that it divides n!..
and take take mininmum of all values
what is that c1/p1?
and what we are calculating n/i in the 2nd while loop
you can watch my code , its is commented and easy to understand
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.
i have a problem i read the code
in the code it is commented what are we doing but i want to know why we r doing this means why to calculate prime powers of k and then min
can u tell it in short or can provide a link related to that