ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1343. Fairy Tale

Java BigInteger.nextProbablePrime() works
Posted by SkorKNURE 4 Dec 2008 04:44
funny
Re: Java BigInteger.nextProbablePrime() works
Posted by Fyodor Menshikov 5 Dec 2008 03:28
Why it shouldn't? Numbers are _so_ small that "probable" prime turns into "exactly" prime.
Re: Java BigInteger.nextProbablePrime() works
Posted by RASTA 19 Apr 2009 16:39
now it write Restricted function:)
Re: Java BigInteger.nextProbablePrime() works
Posted by Vladimir Yakovlev (USU) 29 Apr 2009 02:23
For several reasons the calls of nextProbablePrime and isProbablePrime functions leads to Restricted function verdict on Java 6