按单调不降段切开序列,输出段数。
输入格式见题目描述。
输出见题目描述。
6 1 2 3 1 2 0
3
对于 100%100\%100% 的数据,输入规模不超过 10510^5105。
使用您的 www.mathcoding.online 通用账户