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.
Please look at the last example in description, and try to apply some common sense. Does it look like you can calculate such result, possibly 100 of times, in under 12 seconds? Very unlikely. You need a different approach altogether. (Ask yourself, why would this be 5kyu if your code worked?)
It's too simple.