I was solving Product of Divisors problem and I was runtime error. Let the error issue be kept apart. Someone advised me to go through the Editorial for the practice problem. I was curious to know that what is the issue with my approach of solving the problem (please do not consider the vector implementation for this matter as with approach , I mean to say the algorithm)?
Here is the link for the solution.
Thanks.