题号:NC14322
时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 32 M,其他语言64 M
64bit IO Format: %lld
题目描述
A sequence contains n integers, can you make a judgment of whether the sequence is strictly increasing.
输入描述:
There are multiple test cases. The first line is an positive integer indicating the number of test cases.
For each test case:
Line 1. A positive integer n, standing for the number of elements in the sequence.
Line 2. This line contains n integers, a1, a2, ..., an(2<=n<=100, 0<=ai<=1000) separated by space.
输出描述:
For each test case, output one line. If the sequence is strictly increasing, print "Yes", else print "No".
示例1
输入
复制
3
3
1 2 3
3
3 2 1
4
1 1 2 3