here is link to the problem -> https://cses.fi/problemset/task/2182 here is link to my code -> https://cses.fi/paste/e0e917d7faed57ac1ae15c/ in this question three things are asked i am able to find out no of divisors and its sum correctly but not able to find out product of divisors can someone tell me where i am wrong and what is the correct way to find it out.
see dolphingarlic's explanation + solution.