题目描述
Problem Description
Given the lengths of three segments \(a, b, c\), which are positive integers not exceeding 10000. We plan to form a triangle with these three segments. What kind of triangle can it be?
- If the three segments cannot form a triangle, output
Not triangle. - If it is a right triangle, output
Right triangle. - If it is an acute triangle, output
Acute triangle. - If it is an obtuse triangle, output
Obtuse triangle. - If it is an isosceles triangle, output
Isosceles triangle. - If it is an equilateral triangle, output
Equilateral triangle.
If the triangle meets multiple conditions, output them in the order listed above, separated by newline characters.
Input Format
Input consists of 3 integers \(a\), \(b\), and \(c\).
Output Format
Output several lines of judgment strings.
Sample Input and Output
Sample Input #1
3 3 3
Sample Output #1
Acute triangle
Isosceles triangle
Equilateral triangle
Sample Input #2
3 4 5
Sample Output #2
Right triangle
Sample Input #3
6 10 6
Sample Output #3
Obtuse triangle
Isosceles triangle
Sample Input #4
1 14 5
Sample Output #4
Not triangle
Notes
When the sum of the squares of the two shorter sides is greater than the square of the longest side, it indicates an acute triangle.
When the sum of the squares of the two shorter sides equals the square of the longest side, it indicates a right triangle.
When the sum of the squares of the two shorter sides is less than the square of the longest side, it indicates an obtuse triangle.
输入格式
见题面 Input 部分
输出格式
见题面 Output 部分