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.
I'm aware this comment is two years old now but it seems the issue here is you are spacing the last line like all the others. Read the instructions again; the last line should be single spaced.
Hi, this Kata has bug in it's TestCase for PHP lang. Please check my recent comment, related to this Kata
This Kata has errors in the source code for PHP TestCase!
If you look there, you will find that php shows "PHP Warning: A non-numeric value encountered in <PATH_TO_FILE> on line " when it executes this line of code:
$arWords[$i-1]+=' ';
Due to this problem, in expected result string TestCase returns zeros instead of words!
For width=100 should be the following:
0 0 0 0 0 0 0 elit. Vestibulum sagittis dolor mauris, at
0 0 tempor eget. In quis rhoncus nunc, at aliquet orci. Fusce at dolor sit amet felis
0 0 0 0 imperdiet tellus. Nulla eu vestibulum urna. Vivamus tincidunt suscipit
0 0 0 0 volutpat ac. Maecenas sit amet lacinia arcu, non dictum justo. Donec sed
0 vel risus faucibus euismod. Suspendisse rhoncus rhoncus felis at fermentum. Donec lorem magna,
ultricies a nunc sit amet, blandit fringilla nunc. In vestibulum velit ac felis rhoncus
pellentesque. Mauris at tellus enim. Aliquam eleifend tempus dapibus. Pellentesque commodo, nisi sit
amet hendrerit fringilla, ante odio porta lacus, ut elementum justo nulla et dolor.
That is why so many users do have problems when they try to accomplish this Kata!
This comment is hidden because it contains spoiler information about the solution