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.
Try using another browswer to submit.
Thanks for your post!
This was a neat kata!
Thanks !
This is brilliant!
It never occurred to me to treat the tills as a structure to accrue checkout time, then just send the customer to the till with the least time accrued.
This comment is hidden because it contains spoiler information about the solution
Refactored variables, used a for-each loop, and added a description
This is so much cleaner than how I was approaching this problem
Hi. Apologies for the delay in replying- I have updated the tests so now the random inputs are displayed if you get the wrong answer. Please have another try and let me know. A few other people have been having a similar issue, I believe it is due to a misunderstanding in the description, but it is strange that it doesn't affect the 'big number' random tests.
Thanks!
This comment is hidden because it contains spoiler information about the solution
I won't give the correct answer but your flaw is in
return pair<long long, long long> {candidates[0], candidates[1]};
Correct that and it will work fine. Please! Tell me when you succeed! (and don't forget to upvote my post:-)
Interestingly, I'm getting CloudFlare 504 errors now from CodeWars for a submission.
Did you see my answer at your previous post (below)?
Try to post your code (betwween two lines of three backticks, so that it is readable. If you don't know how to do that, Google "markdown"). Don't forget to mark your post as "Spoiler". If I have time I will look at it.
This comment is hidden because it contains spoiler information about the solution
Loading more items...