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.
Lua translation
to make the issue extra clear in case anyone is trying to fix this:
there is a fixed test mentioned in the description for entity Q42 that expects:
but it seems that this wikidata entry was modified since the kata creation, and as per the rules the correct answer should now be:
The description should be fixed too.
duplicate of this issue (the label for the Q42 fixed test is outdated)
duplicate of this issue (the label for the Q42 fixed test is outdated)
Memory size, not byte size.
'Hello':
Byte size (size of the string in UTF-8 encoding): 5 bytes
Memory size (total memory occupied by the string in Python): 54 bytes
Will do. Just made a quick edit that includes printing the pattern length, as the python version does.
Thanks, approved!
I don't know C#, so please check back in a few days to see if there are any issues with it.
Cheers
Csharp Translation has been published.
Is there en version of label? Can't find it
Haskell translation
This comment is hidden because it contains spoiler information about the solution
You need to format your code properly with 4 backticks and the language
````language
code here
````
for it to be comprehensible. Copy pasting your code prints on one line and from the looks of it its python, and knowing the indentation is extremely important.
It seems like you are trying to parse the hex number, converting every 2 "digits" into a binary number, padding it with zeros to fit the 8 bit sized segment, and attaching "\n" to the end until youve done this for every pair of digits in the hex number.
The prompt wants you to convert the ENTIRE hex number to binary then pad, not every 2 digits. Not sure if I can say more without giving away the answer.
just gotta hardcode that specific case
Kata is still unsolvable at time of this comment due to this issue.
Loading more items...