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.
Check your very last char!
bad test for inputs...input -2 give -1 in this solution, not 0 (0 = right value)!
i am sory but i am new in the site and i don't know alot about it
I have just added the spoiler flag to this comment. Please remember to use a spoiler flag when commenting code.
This comment is hidden because it contains spoiler information about the solution
very clever, nice one! :)
Yep, he/she deserves it.
someone give him a medal
Solved it: I had missed the edge case where the remaining words fitted exactly with one space per word on the last line and accidentally added a "\n" character to it.
This caused the test to search for a word on the next line that was not there.
This comment is hidden because it contains spoiler information about the solution