# PROBLEM LINK:

Practice

Contest: Division 1

Contest: Division 2

Contest: Division 3

Contest: Division 4

* Author:* notsoloud

*iceknight1093, mexomerf*

**Testers:***iceknight1093*

**Editorialist:**# DIFFICULTY:

430

# PREREQUISITES:

None

# PROBLEM:

Given the edge lengths of a triangle, check whether it is scalene.

# EXPLANATION:

As the statement says, all that needs to be done is to check whether A, B, C are distinct.

This can be done with a couple of `if`

conditions.

Using the fact that A \leq B \leq C, itâ€™s enough to check whether A \lt B and B \lt C.

# TIME COMPLEXITY:

\mathcal{O}(1) per testcase.

# CODE:

## Code (Python)

```
for _ in range(int(input())):
a, b, c = map(int, input().split())
print('Yes' if a < b and b < c else 'No')
```