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.
Rust translation
The author of this kata states "There are no complicated formula that propagate many errors". I solved the kata with a rather complicated formula and it did propagate many errors, till I figure out when and where to do the notorious rounding.
This comment is hidden because it contains spoiler information about the solution
6 votes for Best Practices..I am speechless...
There are 100 random tests...
I passed 10-13 random tests and then it times out, so it seems there are several random tests. One of the posts below says there are around 25 random tests, could be more. My code takes average 500ms to pass one random test, I believe I will have to pass each random test in less than 100ms to complete all tests.
Very dedicated coder. I would hire you ;-))
Great kata! Finally I managed to pass all tests. The kata requires a lot of circle geometry, tangent lines, circle intersections etc.
geoffp has been writing great katas. Last week I solved a kata, written by him, on Optical Character Recognition, which was challenging and fun. I have been working on this kata for a couple of days now and still hasn't come across any strategy to solve it. Let's see how it goes...
Good use of simple maths. Though, it is not considered a best practice to write a long unreadable code. ?: operators are considered less readable then if..else statements.
The solution can cause stackoverflow with large numbers.
This comment is hidden because it contains spoiler information about the solution
Ranks can't be changed
So do I, but thought about my mental boundaries hurts.
Loading more items...