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.
Closing since it seems to be resolved whereby the fork is approved
Approved by someone
That's weird. Snail was trivial for me (less than 1 minute trivial). This I can't figure out.
same order of operations
Your solution always passes because it uses the same kind of operations as the reference solution.
The solution in the post above is mine. it uses another order of operations, and fails one of every a couple of runs, even though its correct. Unless you think its not, then I'd be interested why.
If my solution is correct, it should pass every test run. if my solution is incorrect, it should fail every test run. With your translation, as with any other currently present, it usually passes, and sometimes fails. and there are more users who reported this problem.
This comment is hidden because it contains spoiler information about the solution
I am reluctant to approve any further translations to the kata as it seems to be fundamentally broken. Two existing translations have problems with floating point accurracy (see two issues below), and as far as I can read the code, the Java translation can face similar issues.
I would love to have the general issue in the kata fixed (i.e. remove the floating point inaccuracies, either by changing
distance
to a precise data type, or by changing assertions to use fuzzy equality), but I'd approve the Java translation if it did just that. However, I am afraid that changing the input format would introduce considerable inconsistencies between translations. Maybe allowing for a one second tolerance of the answer would solve the problem?Regular users cannot approve their own translations.
Content maintainers and mods are able to approve own forks, but it's meant as a way to introduce bug fixes quickly, and not to provide a new content. When a privileged user creates a totally new translation, it still should go through the regular review/approval process.
It seems to be roughly at the same difficulty level as 'Snail', a similar kata which is at 4 kyu.
awesome, thanks Jomo!
changed my vote from "somewhat" to "very" satisfied, in that case :-D
Thanks very much for the feedback. I've been meaning to change the word
different
tounique
anyway, so yeah that's changed. But I really appreciated the notion of a sample test to illustrate the rule, so I also added one that should make this primary stipulation completely clear.As to why they should be unique, it's because in the real world playing of this game, it goes on way too long to be fun otherwise. With this limitation, the games are often short enough to finish reasonably soon, plus it gives you a chance to strategize and possibly trap your opponent.
If you have a moment, please check to make sure my changes make sense. And thanks for playing!
Is there a good book/website to learn streams? The book I'm using does not cover streams in depth
Yes, i think you're problem is solved if there is already an issue like that. Please let me know if there's still a problem. Also thanks for your appreciation!
Loading more items...