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.
Sorry, but there is something wrong with your code...
I shouldn't tell you, but the input string doesn't contain any 31.
Test it with some string created by you (with correct formatting, obviously),
maybe that could help you spotting the bug. ;)
Good debugging
yes,the order of numbers is something I miss. That is my fault. thanks for your advise.