Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Quite an easy and simple yet funny kata to solve of the prime numbers series, congratulations.
see description
<b
not<=b
One of the tests for numbers in the interval (50; 257) gives an answer of 5 numbers, but this is an incorrect answer, there are 6 of them: 53, 73, 223, 227, 233, 257. Because of this, all tests fail
resolved in updated fork.
approved.
Python fork
Python fork
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
11, 13, 17
all contain1
, which is not one of the possible numbers used as digits because1
is not prime11, 13, 17
I have created yet another sometimes pass solution, where single digit total primes are missing.
No response from OP after 1 week, closing!
How is this a kata issue?
timeout with Sieve of Eratosthenes algorithm
Loading more items...