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.
Hi, thanks for the suggestion!
#1
is fixed,#2
is not actual because there are no code examples as is, but result of code invocation in console.Fixed
Hm, really. Thanks!
Please note @OscarAlvarez comment:
Thanks for response!
As I tested, the result for 61896 is CMNP, not CMNN:
Or am I misunderstood your question?
Hi tvolf!
Please specify the programming language that you accepted on solving this Kata.
(I'm author of Pythons and Javascript versions, other versions are provided not by me)
Thanks for your reply!
I haven't been here for a long time so I can't answer on your question.
I'm glad that you passed it :)
This comment is hidden because it contains spoiler information about the solution
You are welcome :)
Thank you for solving my Kata.
Hint: look at your first
if
statement.I run your code and.. yeah, it actually doesn't calculate complementary color for empty string.
Note that if input argument has length less than 6 then you should add a few zeros on begin:
""
->"000000"
"FFF"
->"000FFF"
Due to the programming practice it's not necessary, but at the moment of writing this Kata I decided to make it little more complicated :)
pow(2, 100)
=1267650600228229401496703205376
pow(2, 31) - 1
=2147483647
Oh, thanks!
It seems that you've stucked on this test:
Note that if input argument has length less than 6 then you should add a few zeros on begin:
"" -> "000000"
"FFF" -> "000FFF"
@pzurowski, yeah, example tests have been passed correctly, I got stuck on hidden tests.
Loading more items...