PROGRAMMING:triangle
Please construct a function to judge whether a given three edges can form a triangle.
###Input format:
There are several groups of test data, which are processed to the end of the file. The first row of each group of data contains an integer m, followed by M rows. Each row has an instance, which contains three positive numbers a, B and C. A, B, C < 1000;
###Output format:
For each test case, if three side lengths a, B and C can form a triangle, output yes, otherwise No.
###Input example:
Here is a set of inputs. For example:
```in
two
1 2 3
2 2 2
```
###Output example:
The corresponding output is given here. For example:
```out
NO
YES
```
answer:If there is no answer, please comment
###Input format:
There are several groups of test data, which are processed to the end of the file. The first row of each group of data contains an integer m, followed by M rows. Each row has an instance, which contains three positive numbers a, B and C. A, B, C < 1000;
###Output format:
For each test case, if three side lengths a, B and C can form a triangle, output yes, otherwise No.
###Input example:
Here is a set of inputs. For example:
```in
two
1 2 3
2 2 2
```
###Output example:
The corresponding output is given here. For example:
```out
NO
YES
```
answer:If there is no answer, please comment