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.
My apologies. I totally forgot I attempted to do this two years ago. I hope the revision meets the expectations.
These should all (besides random tests) be fixed now thanks to mjpeters' fork. (?) Please open new issues for any new problems found.
I've created a fork that addresses all of these issues except for the randomised tests, since none of the other translations have randomised tests either.
And another issue:
Marking Resolved as of Jauttaro Coudjau.
added to the description
Rust fixed in this fork
Other languages do not have such cases in fixed and random tests (Dart && PowerShell already handled in editor), closing
Check what happens when you try to round following numbers: 2.5, 3.5, 4.5, 5.5.
I'm sorry I don't understand what you are both saying, about nearing to the "nearest even integer" (it's probably because of my lack of mathematical knowledge).
In Python, as far as I know, if you try to round let's say
4.6
, it will give you 5, which is the "nearest integer" (not even), just like it's specified in the statement.What am I missing?
Well, exactly this is the case when &Vec<Vec<>> is better. I've started with
but then decided not to overcomplicate the code. We have a matrix type here, represented with Vec<Vec<>>, not an arbitrary slice of Vecs.
Also, there's nothing wrong with negatives in matrix, they should be allowed, but I don't see any actual reason to test them.
Added better diagnostic messages.
Fixed the incorrect function definition in solution setup.
this is now untrue, isomorphism is available :) https://www.codewars.com/kata/isomorphism
Should be marked as resolved
fixed
Yeah, I wanted to avoid overflow, but that didn't work. Thanks for catching that.
I've tried your suggestion, but
b
ended up as0
or1
in most cases.I've also added assertion messages.
Fix
Loading more items...