Dãy Tăng Dần

PDF

Submit solution

Points: 10.00
Time limit: 1.0s
Memory limit: 64M
Input: stdin
Output: stdout

Authors:
Problem types
Allowed languages
C, C++, Java, Pascal, Python, Scratch, TEXT

Một dãy số tăng nghiêm ngặt thỏa điều kiện mọi phần tử sau luôn lớn hơn phần từ trước nó.

Yêu cầu

Nhập vào 3 số nguyên ~a~, ~b~, ~c~, kiểm tra đó có phải là dãy tăng không?

Dữ liệu

Một dòng duy nhất, gồm số nguyên ~a~, ~b~, ~c~ ~(0 \le |a|, |b|,|c| \le 10^5)~.

Kết quả

Nếu là một dãy tăng, ghi Yes, ngược lại ghi No.

Input 1

4 6 9

Output 1

Yes

Input 2

6 -2 1

Output 2

No

Comments

Please read the guidelines before commenting.


There are no comments at the moment.