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.
This comment is hidden because it contains spoiler information about the solution
[nothing]
This comment is hidden because it contains spoiler information about the solution
The test case should need a double check for random numbers. I had 129 for "n" and 19 for "p" but the result that was given had like 38 lines, wherease it should be 24?
Thanks for your answer in advance!
P.s.: Nice kata!
Excuse me, you are aligning the "C", I'm aligning the center of "Codewars", the "ew", there's no more middle than that.
This should be a question, not an issue; more so, if you already solved it.
Thank you.
Thank you ;)
Finally got it!
Nice kata, I've learned a lot with it.
I apologize if I misunderstood, my english isn't quite so good, but I believe that this part of the description might be misleading, ambiguous, or at least hard to understand:
I say this because the CodeWars logo actually isn't always in the middle horizontally.
I took some time to figure out that, when 'n' was odd (of course), I had to actually put it always in the first horizontal half for achieving the right solution.
Take a look at your examples, specially at the one with (25,30). CodeWars is 8 characters away from the left border, and 9 characters away from the right border. Counting the 8 characters from CodeWars, we have 8 + 8 + 9 = 25. This isn't middle, this is first half.
Although this, I enjoyed a lot your kata, keep up the good work. :)
Done ;-)
This kata wants to be approved :)
Amazing!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thanks!
Interesting and actually a very useful script as well.
Loading more items...