最!单调递增
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
问题陈述
给定一个正整数 和一个长度为 的 的正整数序列。
如果 对所有整数 都成立,且 也成立,则 为 最!单调递增。
判断 是否为 最!单调递增。
输入
一个整数N,第二行N个整数。
输出
如果 是 最!单调递增,则输出 "Yes",否则输出 "No"。
样例
3
1 2 5
Yes
限制
- 所有输入均为整数
双周赛
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 4
- Start at
- 2025-3-23 19:00
- End at
- 2025-3-23 21:00
- Duration
- 2 hour(s)
- Host
- Partic.
- 20