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 was really great kata!
ok sounds good
I didn't find any other bug.
Thanks again.
Now that seems to be fixed, thanks.
I'm still reviewing other test cases.
From reading over the discourse, it seems like some languages used this spec from the beginning. And in other langs (like python) the tests simply never tested that case.
In general a lot of solutions would be invalidated simply by stronger random tests, even if spec isnt changed at all. So IMO its not a bad time to fix the spec too (ie. align it to the current description)
that's a major spec update, all languages should be revisited .. who changed the spec after 1000's of submissions anyway
deleted
I fixed the hands with duplicated KHs. I did not find any other hand with duplicated cards, but let me know in case I missed any.
Please try again and check if duplicate cards are still a problem.
I'm not passing the kata because of this issue. Apparently I cannot contribute further before passing it. And I'm not going to code a wrong solution in order to pass the wrong tests.
I've just noticed that apparently the description used to say that low aces are NOT valid, however it now states that they are valid, which is also what this fork assumes. I also think they should definitely be considered valid, since that is the rules.
Python fork:
The same is happening to me in the C version. Not passing the tests because of that.
In the C version, random tests produce invalid inputs like "3C KH 5D 5S KH".
The King of Hearts is twice in the hand, so that hand is invalid.
This comment is hidden because it contains spoiler information about the solution
Loading more items...