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.
This particular random test seems to not want the
sin(-5 * x) ==
part of the expression:It's not consistent because other random tests do require that prefix.
Instructions don't match the result:
However:
What am I missing?
I can see how that result was actually derived but what's with the "158 - ord(c)" then?
There is no vowel after the 'O'. Why does it need to be broken up?
Error when submitting:
I think it would make more sense for the tests to stand alone and not depend on static constants in the solution.
Error when submitting solution:
Did you mean 'test'?
It did not overflow though. Am I missing something?
I have a question about this example.
With a lawnmower of length 5, it will consider the range [0,1,3,0,1]. In this range, the median is 1. However, 3 is more than 2 times the median in this range. So why is 3 not cut?
Wait. Why are we flooring the result?
If we are supposed to write random_valid_key() and random_invalid_key(), then the kata description should specify that. But that doesn't make sense because we can then write trivial implementations of those functions that will make any solution pass.
Still seeing it though. Here is what it looks like when I submit a solution:
Still an issue.
Okay, thanks so much!
LOL. I was actually wondering if the precision issue was part of the challenge.
Can I have some worked examples of the match percentage calculation? What formula do you use to derive the percentage?
The description is fine but the specifics are a mystery to me.
Loading more items...