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.
You are using operations which lose precision because numbers will be converted to floating point which is not sufficient for numbers with more than 53 bits.
But there was a similar bug also in the Ruby reference solution which I have fixed now.
Thank you, my solution passes now.
I merged a fix, can you please verify.
PHP: Reference solution seems to be wrong for big random integers:
Reference solutions of other languages show that
0
is correct.This comment is hidden because it contains spoiler information about the solution
damn, what's that dawg
Forked because of merge conflict and approved.
I fixed the random generator of the C# version to not generate numbers outside of the specified ranges in the description. Your solution should pass now.
Approved.
fork
The soltution setup should show how the user is expected to return the output. Returning a stack-allocated array won't work.
Haskell translation is not a bug fixing kata.
This is only a warning from the test code. The real issue is that your solution times out.
Type signature in solution setup was wrong. Fixed.
Loading more items...