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.
Can confirm this issue in Rust. I was interpreting "below" as "strictly less than" and had a hard time figuring out why my solution was failing the tests. Then I noticed that the case it failed on had the upper limit as a permutation of one of the primes and that the test was counting that:
It sounds like it's the Rust test implementation that's wrong, not the Kata description, based on the fact that the JS version doesn't have this issue. So either the Rust test should be fixed...or maybe the Kata description should just be changed to call out the different expectation for Rust solutions.
Turned it into a code golf kata, as suggested above
Not fixed :( There's a naked "string" in w/o a "std::"
added to JS there, so only missing in Haskell
The
pos
range is very important (all submitted solutions rely on the fact thatpos
is not very large). I restored thepos
range in the description.Fixed by fork above.
It's both, because the correct answer can't even be 2050.
Closing.
Fixed
Fixed.
Kjtza agrees in another comment that there is still some merit here.
fixed
fixed
fixed
fixed
Fixed after 5 years :-)
Loading more items...