Ad
  • Custom User Avatar

    I haven't solved this problem yet, but you can purposely return a wrong string like "debug". Then this will at least let you see the what the cases are. My solution is too slow for the final test. I've ran it on my machine, and it takes way too long. Guess I gotta get better at mathematics.

  • Custom User Avatar

    @SouravBOrion, When 59 is parameter the answer should be 2.40 Just tested it on my JS code.

  • Custom User Avatar

    i think there are some cases where the solution doesn't give the desired 0.00 format result. One of these is 59 as the parameter.
    i tried

    return String.format("%.2f", value);

  • Custom User Avatar

    Actually the issue was not resolved but there was nothing I can do about it :(

  • Custom User Avatar

    Hi uris I'm afraid I cannot do that now :( Because on CW editing of test cases of a particular kata is locked after 500+ users solve that kata, to prevent mass number of Obsoleted (Out-Dated) Solutions. And in our case till now 822 users have solved the kata, so SORRY for the Inconvenience Caused.

  • Custom User Avatar

    Is it possible to have better error messages? I'm doing this in clojure. The tests pass when I run them, but a test fails when I submit. I've run the code locally with a varied number of inputs and I'm not getting any problems. Would be helpful if the error message was a bit more informative.