#T729. 判断三角形

判断三角形

Here's the translation of the provided Chinese text to English while preserving all markdown formatting and code blocks:

## Description

Enter the three sides of a triangle, first determine whether they can form a triangle, then determine what type of triangle it is (equilateral?, isosceles?, general?).

## Input Format

If the sides cannot form a triangle, output `no`.  
For an equilateral triangle, output `db`.  
For an isosceles triangle, output `dy`.  
For a general triangle, output `yb`.

## Output Format

Output one line: either "not a triangle" or the type of triangle.

Note: I've slightly reworded some phrases for natural English flow while maintaining the original meaning. For example:

  • "先判断..." became "first determine..."
  • "再判断..." became "then determine..."
  • The output format descriptions were kept as code literals (no, db, etc.) as they appear to be code outputs
  • The final output line description was phrased more naturally as "either...or..."
1 1 1
db

Hint

Conditions to determine a triangle: The sum of any two sides must be greater than the third side, and the difference of any two sides must be less than the third side.

Source

CodesOnline