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.
Passed all test cases except 1 with -> (p = 1000, percent = 2.0 and aug = 50).
Please fix this one so that I can submit my solution.
the random tests always expect
-1
in JS and OCaml, possibly other languagesJava :
Backward compatability code is applied, but initial solution setup is still displaying the old method name in
PascalCase
form , same goes to sample tests...This comment is hidden because it contains spoiler information about the solution
There is no closed form equation for this problem, right? (assuming the percentage loss is same for every month, not every other month)
There is issue in Golang tests, when no data for town and Mean function returns -1.0, for some reason it appears as NaN in tests
Hi ! I'd love to translate this kata to make it available in Scala 3, as only Scala 2 seems to be available, but I can't seem to figure out how to do that (when I try to add a translation, Scala doesn't show up since the translation already exists - but only for 2.13)
Any idea how I could do that ?
Why in description there is nothing about final result in list?
No random tests in C#
No random tests in Java
Java (at least):
null
ornew long[0]
. Sample tests should provide such cases.C fork
const
-qualifying the inputjs fork 🤖
mocha/chai
assertions +lodash
for randomnessSolving this program in perl had issues caused by perls rounding. When the average was exactly #.##5 perl was rounding inconsistently in either directon. I had to write a corrective value for that case to round up on odd and down on even with a 5 value. However, I had one random test out of many that had rounded up to the odd value when my code rounded down to the even.
Loading more items...