#K37252. Citizenship Eligibility Checker

    ID: 25935 Type: Default 1000ms 256MiB

Citizenship Eligibility Checker

Citizenship Eligibility Checker

In order to be eligible for citizenship, a candidate must achieve a strictly increasing sequence of test scores. In other words, given a sequence \(a_1, a_2, \ldots, a_n\), the candidate qualifies only if the condition \(a_i < a_{i+1}\) holds for every \(1 \leq i < n\).

Your task is to determine, for each test case, whether the given sequence is strictly increasing. If it is, print YES; otherwise, print NO.

inputFormat

The input begins with a single integer \(T\) representing the number of test cases. Each test case consists of two lines:

  • The first line contains an integer \(N\), the number of scores.
  • The second line contains \(N\) space-separated integers representing the scores.

outputFormat

For each test case, output a single line containing either YES if the sequence is strictly increasing, or NO otherwise.

## sample
1
4 1 2 3 4
YES

</p>