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.
This comment is hidden because it contains spoiler information about the solution
Second and third sample tests seem to be wrong :
[(-2, 5), (4, -1), (4, 11), (10, 5)]
[(260, 120), (264, 92), (264, 148), (280, 60), (280, 180), (300, 40), (300, 200), (332, 24), (332, 216), (360, 20), (360, 220), (388, 24), (388, 216), (420, 40), (420, 200), (440, 60), (440, 180), (456, 92), (456, 148), (460, 120)]
There are many ways to sort an array, you have to be explicit.
Use katex for math formulas :
Description has be rewritten to correspond to actual quality standards.
In light mode, your example is hard to see.
This one is crazily cool and rewarding. It should be translated to
Python
by a someone.I tried to reduce my code for days, not understanding why my formula was wrong!
In the sample tests
tester("11000", "01111", 4, 1)
:Isn't it :
To prevent bad understanding, maybe add in the description that indices are
1-based
in your sample tests.Cool, but the output should be a
string
.Is not a very useful message!
This comment is hidden because it contains spoiler information about the solution
Look at B4B's modules forbidder.
sort
.There are annoying deprecation messages :
The last two sample tests need to be changed :
n_vals = [[1, 0], [2, 3], [3, 18], [4, 60], [5, 150], [342, **420115062**], [56753, **386209565**]]
Cool one!
Another curious number :
496
, there are so few....
Loading more items...