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.
Not an issue
I think my solution is pretty fast but I got the "unknown error" message
user=> (time (zeros 1000000))
"Elapsed time: 56.465 msecs"
249998
Me too :(
Edit: solved the problem. It's timing out, even though it doesn't say so. Try adding a test for n = 1000000, answer is 249998. Now you'll need a faster algorithm. :)
The kata has been completed too many times for it to be wrong, check your solution!