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 1086. Cryptography

How judge test my solution!
Posted by fuzigege 22 Aug 2003 09:07
  The test data should be very much.

   Does the judge run my program only once
or run several times?

  My meaning is :
  If the judge run only once.
  I can generate all prime number with at most
15000 numbers.then I read a test data n, then
output the n-th prime number.
  otherwise,I must generate prime number with
at most n numbers(where n is not knew in advance)

Re: I think it will run several times,but you can generate all prime number first
Posted by ACer 22 Aug 2003 10:07
>   The test data should be very much.
>
>    Does the judge run my program only once
> or run several times?
>
>   My meaning is :
>   If the judge run only once.
>   I can generate all prime number with at most
> 15000 numbers.then I read a test data n, then
> output the n-th prime number.
>   otherwise,I must generate prime number with
> at most n numbers(where n is not knew in advance)
>
>