sir is there something wrong with this code??? it works for some values only and gives TLE for others like 10, 60 etc.
the code link is -
sir is there something wrong with this code??? it works for some values only and gives TLE for others like 10, 60 etc.
the code link is -
hey @pushkar24sharma
Added 2 lines in your countfactors function :https://ide.codingblocks.com/s/339417
Basically you are not updating prime factor in it