Submit | All submissions | Best solutions | Back to list |
V_AYP2_A - Very Triangular |
At school, Panchito´s teacher has asked them to make a simple game that given the length of the sides of a triangle, it can classify them as Isosceles, Scalene or Equilateral.
Help:
• Isósceles: two sides of the same length.
• Scalene: all sides have different lengths.
• Equilateral: all sides are equal.
Input Details:
You should read three integers X, Y, Z be three lengths in the plane.
Output Details:
Only to print that kind of triangle is isosceles, scalene, or equilateral.
INPUT |
OUTPUT |
2 2 2 90 54 90 23 100 12 |
Equilateral Isosceles Scalene |
Constraints:
0 <= X <= 10000000
0 <= Y <= 10000000
0 <= Z <= 10000000
Added by: | Venezuelan Programming League |
Date: | 2013-02-02 |
Time limit: | 3s-4s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All except: ASM64 |