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.
the data type is integer so 1.5 will change to 1 automatically
woah, so that's what it was
xd wow
Bravo hh
And here I am thinking there is no kind of creativity that could be expressed with such simple problem... lol
Amazing, that's out of the box.
Amazing!
This comment is hidden because it contains spoiler information about the solution
bravo!
+1 Clever for recursion
-1 Best practices for the same reason )))
Interesting solution 👍
Benefit from it.
So many interesting tricks in this solution. Learned a lot from it. Thank you!
If the bonus changes to say 1.5, then this code will be more difficult to change.
But in fact the solution is unusual :)
This comment is hidden because it contains spoiler information about the solution
Not really sure if i am right, i am kind of new too this, and the first calculation for n is quite a confusing one, but i believe, that if the length of each line, was not 4, then this solution would not work, i.e n cannot change over number of lines, and number of characters in a line. Forgive me if i am wrong, which i probably am, i was just wondering if you could clarify?
Loading more items...