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.
Proposed C# translation: https://www.codewars.com/kumite/65f3080bf4a0f70c9914c7d2?sel=65f3080bf4a0f70c9914c7d2
Approved
python new test framework is required. updated in this fork
lgfm
FYI, there is a solution visible in the test section. Probably should remove that!
A value that semantically is always positive is better represented as u32 rather than i32.
lol thanks, totally forgot terminating
Fixed
you do not nul-terminate your string, it is your code that has issues ;-)
I've just tested my solution in C and passed, likely it is your code having unnecessary trailing
\n
characters at the end of string. Not a kata issue!the tests for the attempt in c version has issues and needs to be fixed.
OP solved it, closing
Retired as a duplicate.
OP solved it, closing
Do not print the result, return it instead (read this)
Loading more items...