I am getting only 17 points ,my code is only passing the 1st TC.
Here is my logic-
-first i am generating n by multiplying all the primes given.
ex: 2^1 * 3^1 * 5^1 = 30
- now i am generating all the divisors of 30 that are 1,2,3,5,6,10,15,30.
-now i am multiplying all these to generate our number p = 810000
-now i am finding its number of divisors which is the answer.
What am i doing wrong? and what should i do to completely solve this problem?