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.
fork hopefully solving the issue
added sample and fixed test against this solution in this fork
lodash
Lua translation!
Lua translation!
I disabled the
%
operator and themath.fmod
function. Let me know if I missed some!Here are the changes I made:
<stdlib.h>
in full testscr_assert_float_eq
and it's arguments on multiple lines%lf
to%.17g
0.
Thank you!
No problem, great to hear that you solved it!
If you need help on a kata in the future, I recommend asking in the
#help-solve
channel on the Codewars discird server. You'll probably get a much faster response.Hi,
In the description it says:
That means that, after evilifying the input table, when we assign a new value to the table you returned, the original input table should also have that value (not evilified).
There is a link at the end of the description (Try table but meta?) that might help you understand better what's expected.
Hope this helps!
You will receive a string as input and you should return a regex pattern that matches another string (not provided, you will never encounter them) that contains at least once each unique letter from the input string.
Don't hesitate to ask help in the
#help-solve
channel from the Codewars discord server when neededapproved by someone
If I'm not mistaken :
it
s via atester
functionLooks like it is specified.
expected
andactual
are swapped in Lua random testsLoading more items...