Hello. I may be asking a strange question, but what should the program return? I mean, I wrote an infinite prime number generator, but how do I connect it to this katya so that she accepts it all? Simple output of numbers is obviously not suitable.
Ok, I gave forfait (in Rust) and I have no idea on how one earth I wasn't able to meet the perf criteria, even if using Miller's method, and I was able to be n times faster generating primes than the commond sieve... I need some explanation :<
From time to time values after first 1,000,010 primes are tested in Python. This is different from other languages, and if we assume this is alright, the tests are still not consistent enough to catch solutions which don't go that far.
Hello. I may be asking a strange question, but what should the program return? I mean, I wrote an infinite prime number generator, but how do I connect it to this katya so that she accepts it all? Simple output of numbers is obviously not suitable.
C translation does not report actual value on failure for sample tests.
The expression (prime_stream_next(stream)) == (2) is false.
No random tests in
CS
JS
Ruby
Ok, I gave forfait (in Rust) and I have no idea on how one earth I wasn't able to meet the perf criteria, even if using Miller's method, and I was able to be n times faster generating primes than the commond sieve... I need some explanation :<
You can call me foolish. but what I am supposed to do here exactly? I could not understand this kata.
Can anyone help me?
Needs random tests: https://www.codewars.com/kata/reviews/59122652e0e328780f0000c8/groups/5ebbd700c4d0100001719b86
This comment is hidden because it contains spoiler information about the solution
From time to time values after first
1,000,010
primes are tested in Python. This is different from other languages, and if we assume this is alright, the tests are still not consistent enough to catch solutions which don't go that far.This comment is hidden because it contains spoiler information about the solution