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.
You're welcome to provide Rust translation. :)
Great to hear :), you're welcome.
Good luck with the next one, it's much tougher. :)
This comment is hidden because it contains spoiler information about the solution
when some c++ wizard like you ports it to c++. :)
Done. Thank you!
Great story, thank you!
This is a rather simple kata that doesn't take nuances like this into account.
For that, check out the next one:
https://www.codewars.com/kata/decode-the-morse-code-for-real
Thank you! :)
Yes, in this particular kata it can happen that 5 is a very long dot and 6 is a very short dash.
The part of the description you're quoting as about a different thing.
It says that if somewhere in the message
11111
means a dot, then everywhere in that message where11111
is encountered, it would mean a dot, and the same is true for any other sequence.In other words, different number of
1
s can mean a dot, but if something is a dot it's a dot, never dash, and vice versa.Fixed, thanks!
It's better be checked, but I suppose that
int
is faster.Nope.
My bad, forgot to remove. :)
Oh that's very cool, thank you very much!
Loading more items...