FayedAnik_'s blog

By FayedAnik_, history, 6 years ago, In English

Hi!every one! I am stuck in this problem https://www.spoj.com/problems/PON/ ! I am trying to solve it with miller rabin primality test. But got tle :-( my solution can be found here https://ideone.com/eSoJpz Can anyone help ? thanks in advance :-)

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it