I_love_Hoang_Yen's blog

By I_love_Hoang_Yen, 10 years ago, In English

Today when I tried to solve a problem, I found that I'm getting Runtime Error because of using nextProbablePrime() and isProbablePrime().

See:

The only difference is in Accepted submission, I used my own nextProbablePrime().

Previously, I read on Codeforces that MikeMirzayanov solved this issue: /blog/entry/10037. Though looks like it is broken again.. :(

  • Vote: I like it
  • +44
  • Vote: I do not like it