|
|
вернуться в форумHow judge test my solution! 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 Послано ACer 22 авг 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) > > |
|
|