By DUBIOUS_FBS, history, 11 months 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 :-)

Read more »

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