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
Never mind that. I thought when you mentioned calculus, you were talking about differentiation/integration.
Googling the definition made it make more sense -
a particular method or system of calculation or reasoning.
My bad.
Typo?
There are several ways to determine the precision of the calculus but to keep things easy
I'm getting the same error as others in C++.
Any ideas?
edit: I fixed it.
I'm not sure what I'm doing wrong.
The Binomial Thereom/relationship between Pascal's Triangle and combinations is what I tried to do. One number overflows so I end up with a wrong answer.
I've changed everything to std::uint64_t, but it still doesn't work.
Raw results before round() and log():
After:
I pass everything else but the one I mentioned above.