7 kyu
Ones' Complement
1,117 of 2,540marbiru
Loading description...
Fundamentals
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
Lua translation !
python new test framework is required. updated in this fork
Approved
The examples also are using numbers, but then it says they should be formatted as strings
same example typed two times: ones_complement(1001) = 0110
COBOL translation (author inactive).
approved
C translation
Thanks :)
Ruby translation kumited :) please check and approve ~~
Hi, I wrote a C# translation for this Kata.
Thanks Souzooka, looks great, approved!
Approved
Almost a duplicate: http://www.codewars.com/kata/thue-morse-sequence
damn, thank you -- I searched for "Thue Morse" before making this but for some reason the one you're pointing to didn't show up :( Will delete mine so as not to waste people's time -- thanks for letting me know!
hey there -- I was trying to re-write this kata to make it different from the one you linked, and ended up with something completely different. Do you happen to know the protocol here, should I make this a brand new kata or is it ok to keep it in the "same" kata that you rightly pointed out was a duplicate? I still can't figure out how to actually delete a kata, rather than just un-publish it to draft form, which is why I ended up working on the "same" kata until it was totally different. Thanks for your help!
This comment has been hidden.
Wow, that's embarassing -- thank you, fixed.
Do you know if there's any way to change the URL slug or is that fixed forever after you first publish the kata?
oh, never mind –– looks like the slug has fixed itself. Thanks!