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.
in your quote you left out the key part:
It is perfectly conceivable that the left end of the rubber band is tied to something so that the rubber band is only stretched rightwards. Feel free to propose concrete suggestions to improve the wording
without links to those faulty solutions this issue report is not actionnable, as solutions accumulate over time and it is no longer feasible to check all of them. i went through the trouble of searching the solutions posted before yours and there is one that did not take the stretching into account and is now invalidated, so i am closing this.
it is not specified what "a year" means.
365
and365.25
days could be reasonable interpretations, so the description should be more preciseyour issue report is unhelpful. you have to specify the language you are using, and examples of the incorrect cases, with the input, expected and actual values.
Translate Dart
check the translation of the kata
This comment is hidden because it contains spoiler information about the solution
I am encountering an issue where the random test cases for the "Snail on a Rubber Band" kata are failing incorrectly. My solution works perfectly for all fixed tests and logically handles the proportional movement of the snail in relation to the increasing rubber band length. Random test cases generate incorrect expectations, where the result is expected to be true, but it is returning false, and vice versa.
same observation
Javascript random test are broken no ?
I think it would be a good idea to state what exactly "a year" means in the description.
updated remaining languages; the issue about generating better random tests still remains
Your Python solution returns
True
for this test case. The author's solution returnsFalse
but the reference solution inside random tests (line 35) returnsTrue
.see fork: ref sol and my sol still pass that edge case test, what am I missing here..
The expression (canSnailReachEnd(10, 2, 1)) == (1) is false, why its false?
Loading more items...