-->
当前位置:首页 > 题库

PROGRAMMING:The Scarlet Witch lifted the seal

Luz5年前 (2021-05-10)题库492
The Scarlet Witch has two abilities, one is chaos magic, the other is the ability to modify probability. The mixed use of these two kinds of magic can achieve the effect of modifying reality. One day, the captain of the United States gave the Scarlet Witch a battle plan. The battle plan required chaos magic and modification probability. However, the chaos magic ability was sealed in the battle with mieba. Now he needs to find a way to crack the seal of mieba. Then he found Dr. strange, who used time gem to find a way to break the seal.
The way to crack the seal: Dr. strange gave the Scarlet Witch three numbers $$a, B, C $. It needs the Scarlet Witch to judge whether the three numbers $$a, B, C $$can form a triangle, and whether it forms an isosceles triangle or an equilateral triangle. If not, it is an ordinary triangle, but ordinary triangles also have special triangles, There are right triangles in common triangles. If the Scarlet Witch can accurately judge, the seal of mieba can be lifted.
It's impossible to rely on the Scarlet Witch alone. Now she needs your help. Can you help her?
###Input format:
There are multiple groups of input data.
Enter three numbers $$a, B, C $$, all of which are in the range of $$int $$. Judge what triangle can be formed.
###Output format:
Each output occupies one line.
If the input three numbers cannot form a triangle, please output 'no';
If the triangle is isosceles triangle, please output 'isosceles triangle';
If the triangle is a right triangle, output 'right triangle';

If the triangle is isosceles right triangle, please output 'isosceles right triangle';

If the triangle is equilateral, output 'equilateral triangle';

If the triangle is a normal triangle, please output 'triangle';


### Input example:
```in
1 2 3
3 4 5
2 2 3
```
###Output example:
```out
No
Right triangle
Isosceles triangle
```







answer:If there is no answer, please comment