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.
Rejecting because no random tests, missing includes, and a couple of other problems.
What's the goal of this fork? It does not really change anything.
I like your testing approach, but I have two notes:
1.0
.rand
with utilities from C++11's<random>
header (Here is a Codewars guide on how to do so as well as some documentation here). The utility you're probably looking for isstd::uniform_real_distribution
.It was probably translated by someone who either wasn't a python coder or was trying to stick to the original as close as possible.
This made me laugh out loud.
This comment is hidden because it contains spoiler information about the solution
I feel like this is a good challenge. It should probably not be a level 7 kata but it is indeed worthwhile.
This comment is hidden because it contains spoiler information about the solution