Ad
  • Custom User Avatar

    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.

  • Custom User Avatar

    the random tests always expect -1 in JS and OCaml, possibly other languages

  • Custom User Avatar

    Java :

    Backward compatability code is applied, but initial solution setup is still displaying the old method name in PascalCase form , same goes to sample tests...

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    There is no closed form equation for this problem, right? (assuming the percentage loss is same for every month, not every other month)

  • Custom User Avatar

    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

  • Custom User Avatar

    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 ?

  • Custom User Avatar

    Why in description there is nothing about final result in list?

  • Custom User Avatar

    No random tests in C#

  • Custom User Avatar
    • No random tests in Java
  • Custom User Avatar

    No random tests in Java

  • Custom User Avatar

    Java (at least):

    • It is not clear whether we should return null or new long[0]. Sample tests should provide such cases.
  • Custom User Avatar

    C fork

    • better assertion messages
    • removing the reference solution from preloaded
    • const-qualifying the input
    • it is explained what kind of pointer to return
    • the initial code no longer crashes
  • Custom User Avatar

    js fork 🤖

    • updated to node 18 (resolving this issue)
    • added random tests in addition to the randomized ones
    • used mocha/chai assertions + lodash for randomness
    • provided input on failure
  • Custom User Avatar

    Solving 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...