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.
Hello, a suggestion is not meant to give hints/tips to other users, but to propose concrete improvements to a kata
Hello, a suggestion is meant to propose improvements or translations to a kata. I am closing this as it is not a valid suggestion.
Hello, a suggestion is meant to propose improvements or translations to a kata. I am closing this as it is not a valid suggestion.
done there + used
EqualsWithDelta()
matcherto the OP: remove the rounding from your solution, and it should now pass
@rowcased please see https://docs.codewars.com/languages/cpp/igloo/stringizers#precision-loss-in-formatted-double-values
The assertion error message shows doubles to a limited precision, and as such it appears that your answer matches the expected value, although it does not. I took a look at this issue a bit, but I'm not sure how to work properly with the assertion messages in C++.
What's the issue here, exactly?
Kata hint != kata suggestion
Hello, on Codewars suggestions are not meant to give hints to other users (this would be spoiling the kata for them), but rather to suggest improvements to the kata.