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.
Yep, I wrote exactly this but I coudn't make it work on some tests
Please use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Still a better love story than Twilight.
When you have only 1 function, the use of the pipe macro is not recommended.
Already did that and I still mantain my opinon over the kata.
The point of an exrecise is not to force your students into using the same methods you use, but to encourage them to find their own solutions.
Unfortunatly, this specific kata, with all the rounding issues and inconsistent tests doesn't accomplish that.
Your other katas are really good though. Don't feel discouraged!
As I said you in a post above: "Now that you have passed the kata you could look at the other solutions and see how they proceed.".
Already completed the exercise, though I am not realy happy because it randomly passed the random tests...
thanks
Rounding
279 / 3600
to 53 significant binary digits here.@g964 Need a template? Legends say, Landau had one:
Worst kata ever. Seriously.
It finaly worked and passed the random tests, but I didn't change the code.
I get I got lucky since the same code failed several times before.
Parameters are "int" so use only "ints" and no
/
.Loading more items...