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.
In the other kata (http://www.codewars.com/kata/5508249a98b3234f420000fb) it is said:
I hope this helps you. Tell me if this works!
Unless you would want the distribution of 257 letters between 5 messengers to be 52, 52, 52, 52, 49? I suppose it makes sense in the problem description, but it's definitely not optimized.
Imagine 320 messengers carrying 2568 letters. My distribution would be 9 for the first 8 messengers and 8 for the rest. The distribution I described above won't work at all.
Reload the page, I have spoiler flagged my answer but you must able to see both!
This comment is hidden because it contains spoiler information about the solution
You are welcome!
I found a bug from my code.
Thank you for your reply.
The test cases are right, it seems that you have an error in your encoding, you may have forgotten to encode a terminal ";" :-(
Before thinking that tests have errors, ask yourself if your code is good:-)
in java.
encoded string doesn't have a ';' in "sft b-dspxejoh". but test case expected
"expected:<...he shores a-crowding[;]> but was:<...he shores a-crowding[]>"
Which language? Why do you think there are errors? Can you be more explicit please?
I think test case (3, 6, 7) may contains some error.