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.
Wow that is embarassing. Thank you for pointing out my error. I was certain that I had counted all 15 requests in my solution. I am ashamed of myself.
That is only 14 requests. I figured you'd be too focused on checking that they didn't overlap to notice that one was missing, but by distributing them manually you wouldn't lose one of them due to some oversight or bug in the code that you wouldn't manually reproduce since you'd be aware of every step carried out.
I appreciate your patience with my ignorance. I solved the above example by hand and came out with the exact same taxis as above:
How are these not "distributed" correctly?
Yes, but you didn't distribute the requests between the taxis. Yes, check it by hand. Better yet, solve it by hand so that you are actually checking that it's solvable rather than looking at the solution and failing to find a problem (which doesn't mean there isn't one)
I listed the six taxis above. The number of requests is small enough that it can be checked by hand, and while I may have missed something, I do not see any mistake. All 15 requests are satisfied with the six taxis that are show in my post.
You won't be able to distribute them between six taxis so it should be easy to figure it out why that's wrong
My code passes the basic tests and most of the small random tests, but on some tests it says I am off by one taxi. In the example below, it says there should be 7 taxis. I don't see how they are getting 7 taxis. What am I missing here?
The fork was already approved by someone. However, I have now made it into blocks as per your suggestion in this fork.
approved
Haskell translation
approved
this has assertions outside
it
(which the current/old version also does)also not a fan of the a b c d's because it's very difficult to see what's what. but. whatever, I guess. I'll approve after the describes around the check calls are changed into its
do not redefine the
Fighter
class, it is preloaded for you. redefining it tampers with the tests, which should not happen. re-raised an issue about that above with a proposed fixJavaScripts tests are vulnerable to (possibly accidental) redefinition of the
fighter
class.fixed here along with:
Fighter
sThere are ways to check whats tested on Codewars: https://docs.codewars.com/training/training-example#debugging-a-kata
Loading more items...