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.
Thank you for your feedback! I fixed the description.
when the author is your uncle.
I really enjoyed this kata. I do however have a couple of suggestions to improve your kata's description. In the Input section of the kata's description, you currently state "Jump back to the matching command #7 if the cell under the pointer is 1" for the "]" command. It should however state "Jump back to the matching command #7 if the cell under the pointer is non-zero". I also suggest that you explicitly state how your kata expects EOF conditions to to be handled for the "CAT" programs.
Python:for n = 7,
sequence = [53, 29, 87, 99, 7, 7, 24, 9, (67, 84, 38, 86, 87, 12, 0), =87=, 28, 16, (55, 13, 86, 57, 34, 31, 89), =55=, 85, 75, 52, 93, 96, 44, 59, 56, 5, 32, 17, 22, (79, 30, 84, 52, 64, 53, 94), =30=, 85, 0, 3, 81, 98, 23, 49, 87, 48]
test says 3 should equal 1
but we have 3 matches:
[67, 84, 38, 86, 87, 12, 0] 87
[55, 13, 86, 57, 34, 31, 89] 55
[79, 30, 84, 52, 64, 53, 94] 30
What I am doing wrong ?
fixed
JavaScript uses the deprecated
Test
frameworkThis comment is hidden because it contains spoiler information about the solution
the only no-itertools solution )
This comment is hidden because it contains spoiler information about the solution
Easy task, terrible instructions.
Remember: this is Codewars. Here, readability goes out the window.
let's save our computing cycles :)
How does adding 0.01 improve rounding here? thanks.
This might be a very simple function, but it's basically unreadable. Makes maintaining a codebase a lot harder. Same function just with more descriptive variable names and a comment or two and you should be set.
Shorter does not always equal better.
Hint: dont waste your time on it
Loading more items...