Optimisation in Product of Divisors

Can someone tell what is wrong with my program at CodeChef: Practical coding for everyone for the problem Product of Divisors at D1 Problem - CodeChef

Can you please tell what type of error you are getting after running it ie TLE,WA,RTE or CTE?