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
I am a beginner and I am wondering if it is worth it to add a whole library to the project only to use the simple accumulate function which can be done with one line of ranged for loop.
but still it's kinda odd that we have been given a value c that isn't guaranteed to be the biggest value, or atleast not in the sample tests.
PythagoreanTriple(5,3,4) , Equals(true)
The problem description clearly states that c is the largest value
Yes, but Pythagorean triples are usually ordered.
if we put the highest value in b or a that would be problem
Experience not cheating.
My code can work for all collections, yours only for std::vector.
cheating...