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.
wow, my code look not so complicated now
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
mind locale
咋滴了大哥这是
A Ruby example should be added to the description.
Some tests against storing the argument globally would be nice.
卧槽
Great job !!!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Note that this truncates the number, instead of "rounding" as the description says...
Neat solution. I like that you even skipped tracking the num100s since this is not needed for the result. Ok, could be premature optimization on the other hand ;)
Possible enhancement could be to extract the parts introduced by the comment lines to separate methods.