Plasmatic is having a test on the different types of triangles! However, he is unable to answer any questions because he was playing video games in online classes. He vaguely remembers that the teacher taught
Input Specification
The first line contains
Each of the following
For tests worth
Output Specification
For each of the A
if the triangle formed is acute, R
if the triangle formed is right, or O
if the triangle formed is obtuse.
Sample Input 1
2
5 12 13
5 11 13
Sample Output 1
R
O
Sample Input 2
3
2 3 4
2 2 2
3 4 5
Sample Output 2
O
A
R
Comments
If he had time to make us code for him, he definetly had time to search up the three types of triangles (-_-)
Personally it's mostly Plasmatic's fault, and it's not a good idea to cheat.
P.S. why did they chose Plasmatic as his name?
With a
question test, it's no wonder Plasmatic wants a program to do this for him...