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.
Was struggling with the random tests to complete this same translation. Guess I don't have to worry anymore.
Good job, man.
Fair enough, I'll unpublish this translation until I figure out the random testing.
I completed the
Ecrypt This!
Kata, wich is based on this one, then realized there wasn't a C# version for it.Thought that even if I didn't knew how to generate random tests it would be still good to at least start the translation so people could improve on it.
I included comments regarding the lack of random tests.
I'm a begginer but wanted to start doing something, that's why it's a bit bareboned.
And that's why there's comments saying "need help with X".
That was just for the naming convention to be standardized, but understood.
Had the same problem but when I fixed it, I broke the last "ghost test" from the sample.
Expected: 4
Actual: 3
And I can't seem to find a way around it.
This comment is hidden because it contains spoiler information about the solution
Got the right output but as int, not binary. Had to check the discussion and read up on binary to really get it.
Initially I thought it was just to pass the binary representation (i.e.: 1111 for 15). But I was getting the actual int 1111 not it's binary equivalent.
Tricky stuff.
The "test" button will only run a few tests. After that passes you shold use the "attempt" button and that should do it.