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.
Haskell translation
CoffeeScript translation
Approved!
Python update (new testing framework)
Look at the top solution... It will make you realize power of Python !
Ruby 3.0 should be enabled.
Seems too easy for 6kyu
Yep that was it - changed by loop var from i to j and made sure to declare it with var.
Thanks I'll check that now.
JS: the loop variable used by the random tests are global because they aren't declared with
var
/let
, which can mess with user solutions.Make sure you don't have a global variable named
i
. It's actually an issue but I can't edit the kata right now, so gonna raise one myself.I keep getting this:
Time: 4637ms Passed: 37714 Failed: 0 Exit Code: 137
All the way down at the end of the output I see:
Max Buffer Size Reached (1.5 MiB)
I don't yet see how my function could have a memory leak. I want to verify that it's not the tests as there are so many.
I am unable to reproduce: it works fine using even big numbers.
There's an is an issue with the c++ version, while my code works perfectly fine on visual studio, it seems to output completely unrelated number here.
For instance:
equal to -24,210,353,538
Actual: -1,559,450,238
But once again it works perfectly fine on visual studio.
And issue fixed
Loading more items...