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.
This comment is hidden because it contains spoiler information about the solution
You use each different formula to ensure what you get out of it is positive. e.g
Say r = 0.9,
1 - 0.9 = 0.1...
but 0.9 - 1 = -0.1
both probably give you the same answer but if you're not taking into account whether or not the denominator is negative you may have problems.
Still did :P
Thank you for bringing this up, I always forget the rounding!
Fixed. Thank you.
Yep sorry about that its fixed now.
I see what the problem is. SHOULD be fixed it now, thanks for the help!
Can I get an example of the errors so I can find where they occur? I believe it might be because I forgot to mention it was rounded to 1dp. I've changed this in a republish! Thanks ;)
I'll add some random tests in a bit! :)
Can I have a link to the original?
Also, I've fixed the random tests thing, I just renamed it to "Some more tests"
Hi I'm not entirely sure about the sorting can anyone help.
I first sort by the amount of each letter in the dominant string (so for the first example 'e' comes first because there are 5 of them)
Then I sort by reversed alphabetical order so 'y' comes first then 'r' then 'h', however the example shows 'y' then 'h' then 'r' and I'm confused as how it's supposed to work. Can anyone help me with this?
Thanks