We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.

It's assumed that anyone attempting this challenge understands basic Geometry. Any rules will be stated in the Problem Statement at the top of the page. The Explanation section is not stating a rule, it's stating an inequality relevant to the respective A, B, and C values for that Sample Case. The reason why those values do not form a triangle is because 27 is a number that is less than 30. There is a difference between the two numbers. If A and B added up to 30, then the Explanation would say that A + B = C because that would be the immediate reason causing it to not be a triangle.

And yet they are stated like rules in the description... I too was stuck as were all these other people. Perhaps you could be a little less stubborn and fix a clearly misleading description.

I've come here to learn/revise sql, not learn/revise geometry. I think it's odd that the rules at the top cover the basic triangle types that most of us would remember from school, but not the triangle inequality stuff that fewer of us would recall, yet which is only alluded to by example. I didn't know about the latter at all (or had clean forgotten) and just added an 'else' for it.

## Type of Triangle

You are viewing a single comment's thread. Return to all comments →

It's assumed that anyone attempting this challenge understands basic Geometry. Any rules will be stated in the Problem Statement at the top of the page. The Explanation section is not stating a rule, it's stating an inequality relevant to the respective A, B, and C values for that Sample Case. The reason why those values do not form a triangle is because 27 is a number that is less than 30. There is a difference between the two numbers. If A and B added up to 30, then the Explanation would say that A + B = C because that would be the immediate reason causing it to not be a triangle.

And yet they are stated like rules in the description... I too was stuck as were all these other people. Perhaps you could be a little less stubborn and fix a clearly misleading description.

I'll just leave this here

https://en.wikipedia.org/wiki/Triangle_inequality

it's technically only assumed they know sql :P, unless you mean it is word of god? in that case it is whatever you say it is I guess

"It's assumed that anyone attempting this challenge understands basic Geometry".

I've come here to learn/revise sql, not learn/revise geometry. I think it's odd that the rules at the top cover the basic triangle types that most of us would remember from school, but not the triangle inequality stuff that fewer of us would recall, yet which is only alluded to by example. I didn't know about the latter at all (or had clean forgotten) and just added an 'else' for it.