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.
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.
@SouravBOrion, When
59
is parameter the answer should be2.40
Just tested it on my JS code.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);
Actually the issue was not resolved but there was nothing I can do about it :(
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.