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.
This comment is hidden because it contains spoiler information about the solution
You can use static_cast instead of cmath.
I like the variant in the solution better, because if the average value is higher than 100 we will get a panic "entered unreachable code". And in the solution you propose we may not know about this error, because instead of panic we will get the result of F evaluation.
AHAHAHA, nice