Optimisation in Product of Divisors

Can someone tell what is wrong with my program at http://www.codechef.com/viewsolution/7186179 for the problem Product of Divisors at http://www.codechef.com/problems/D1/

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

//