Playing with divisors

0-5 test cases are showing WA in this code

@hari_2425 You are using a wrong approach.
Number of divisor of number n,x= product(ai+1) (ai is the power of primes).
Now with a bit of maths you will get product of all div= n^x (which is our p)
now you need to find power of primes in this new number.
again with bit of maths you will get that the new power of ith prime number is (ai*P)/2
Now again you have all the power calculated using the above methods, use the formula to cal number of divisors.
Just one thing as we are doing modulo operations keep in mind the inverse modulo of 2(which you have done buy have not taken care of P).

If this resolves your doubt mark its as resolved.

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.