Help needed in SPOJ Problem: LCM GCD LOVE

Revision en1, by Knight_of_Thirteen, 2016-07-02 14:08:11

I am getting Runtime Error in this code but I am not getting why. I have checked quite a few times but couldn't find the reason. It'd be nice if someone helped :) Thanks in advance

My code: Here

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Knight_of_Thirteen 2016-07-02 14:08:56 60
en1 English Knight_of_Thirteen 2016-07-02 14:08:11 270 Initial revision (published)