TLE IN SPOJ GCDEX

Revision en2, by JacobianDet, 2018-05-04 20:09:25

I am getting tle in SPOJ GCDEX despite following 'A Dance with mobius function' blog. Please help.

My Solution: https://pastebin.com/TyQzd9Aw

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English JacobianDet 2018-05-04 20:09:25 46 Tiny change: 'ease help.' -> 'ease help.\n\nMy Solution: https://pastebin.com/TyQzd9Aw'
en1 English JacobianDet 2018-05-04 19:58:49 115 Initial revision (published)