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.
approved by someone
I can relate, lol
C translation
As mentioned by several commenters below, as of this message, the Java version of this Kata is broken. In order to pass the tests, if you compute any values that exceed the max value for an int, instead just put 2147483647 (the max value for an int) in the applicable index of the array.
This comment is hidden because it contains spoiler information about the solution
I love how this beauty received 26 Best Practises upvotes, and 8 clever ones.
Too bad you have to choose: it's clearly both.
I think we should add the years before 1924 to the tests.
Water Rat (me, nice...) solved this thing in the year of the Wood Dragon.
My advice is to look into 'type coercion' and while you're at it, 'type conversion' and figure out the difference. It's quite interesting stuff.
GO sounds so special that I'm not even going to try.
Having my hands full anyway with struggling through 120,000 lines of DXL code, written by even more incompetent programmers than I am, at work.
Sorry, but I had to get that of my chest. ;-)
Dont mind me.
I got the same and "solved" it by including \t as an acceptable character. It's a bit weird.
My brain must be myjinxined after solving a few hundred of his Kata's.
I perfectly understood what he meant. :-D
It's not pretty, I know.
I'm sure this can be solved with some kind of smart bitwise magic.
And I'm also sure that I'm not smart enough to figure this out.
One of the earlier Kata's. Nowadays this thing would have been rated an 8kyu. ;-)
is that an order?
Loading more items...