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.
Are there any points about faulty input?
If I am not mistaken, nope... =)
But what would happen if there was a faulty input?
The minus sign should not confuse you in any way. It has no effect on the algorithm.
Kotlin!
Use init for generating Exception.
This comment is hidden because it contains spoiler information about the solution
Try to make simplier! Use one expression :)
This comment is hidden because it contains spoiler information about the solution
My first solution was too slow.
Optimise divisor iteration algorithm. We don't need ALL dividers.
Wrong solution! It doesn't work correctly!