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 could not find any solution actually doing this because of built-in copy or const ref semantics but added a test for it anyways:
https://www.codewars.com/kumite/67346c955b6178ce3d28a71e?sel=67346c955b6178ce3d28a71e
your issue report is unclear. this behavior is normal and is the same across most languages on Codewars: the fixed and random tests are each in their own tests group / it block and are run separately.
duplicate suggestion
kak dela drug
That's on me. First I approved the transaltion with a bug, then I spotted the bug, then I fixed it in full tests, and forgot about sample tests.
Now the sample tests should be fixed too (remember to reset the trainer to see new sample tests).
Reason for the bug: C sample test's
tester
function should replace tolerance1e10
with1e-10
It's part of the kata to make that optional 3rd parameter working. While I might agree that it is hard to parse this task from the description this error message is not a kata issue but intended.
Appears to be resolved?
Fixed
.
fixed
no issue here. The
const
modifier tells you that you should not mutate the array. You can decide to write bad code and do it anyways, it's not the tests suite's concerni added plenty of details in the initial code; it is more than enough. if you dont know what an array or a comparison function are it is not the kata's responsibility to teach you that. also, low level languages are obviously harder than higher level languages; so complaining about the kyu rank is pointless.
Loading more items...