|
|||
Is This the Easiest Problem?A triangle is a geometric shape with three positive sides. However, any given three sides won't necessarily form a triangle. The three sides must form a closed region. Triangles are categorized depending on the values of the sides of a valid triangle. In this problem, you are required to determine the type of a triangle. Input SpecificationThe first line of the input will contain a positive integer T < 20, where T denotes the number of test cases. Each of the next T lines will contain three 32-bit signed integers. Output SpecificationFor each case of input, there will be one line of output. It will be formatted as follows:
Here, x denotes the number of the test case being processed, and triangle type is the type of the triangle, which will be one of the following, depending on the values of the three sides:
Sample Input
Output for Sample Input
|
|||
University of Debrecen; Faculty of Informatics; v. 09/30/2024 |