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.
in test example 3.14 and 42 are equal to 45.14, this is clear, but i wonder where did 0.001 come from?
Awesome Kata! C++ tuples are insane to work with! Can you suggest me more Katas similar to yours?
https://www.codewars.com/kata/reviews/5883785e512b0330ff0003c9/groups/64f00dae18408b0001497ac8
https://www.codewars.com/kata/reviews/58847cf4a3dd74693e000114/groups/64f00d7318408b0001497abf
The tests are not adequate.
These additional things should also be tested:
std::find
(onlystd::vector
andstd::set
is being tested).find
andstd::find
(the former should be used instead of latter)Tests should be added against this: https://www.codewars.com/kata/reviews/58617cfcc129d2e704000dbc/groups/5acd32cec7309c65cb0038f5
This solution should be blocked as well, it's bypassing the
sizeof
check.This solution shouldn't pass, but it currently passes (sometimes, since it takes almost 12s to run), which means test case sizes need to be increased.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Raising an issue here as this kata shares a problem with its sibling.
The transform and filter katas are really nice, figuring out all the stuff required to implement a proper generic C++ iterator and please the type system was really interesting and challenging. But at the same time it's really bad that you authored 2 separate katas on the same topic. The solution to both of them is almost identical, the changes required to convert
map
tofilter
(or vice-versa) are trivial, and as soon as one kata gets approved, the other will instantly turn into a duplicate. You should either rework them into one asking to implement bothmap
andfilter
, or simply unpublish one of the katas, as they will not survive together.There should also be small random tests.
It's hopeless, really.
no_functions
haspreprocessed.length() > 1100
. When this check fails, the failure message is misleading.Loading more items...