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.
That's a math problem in fact, not solely programming.
that's why programmers have to learn maths anyways
This comment is hidden because it contains spoiler information about the solution
No negative number can be solution to this.
abs(a-b) is non-negative, so c is positive (c>0).
If a if negative:
So, our proposition of negative a leads to contradiction. And because a and b are symmetric in this expression, this also is true for negative b.
Zeros are eliminated by using strict ineqaulities.
Thus, only positive values of a,b and c conforms this expression.
You may not consider the negative cases