AF. 递增
递增
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.
题目描述
现有数 ,修改最少的数字为实数,使得数列严格单调递增。
注:原题误表述为修改为整数,现已纠正为实数。本题数据确保按照修改为整数的做法也可以 AC。(只是不能过样例)
输入格式
第一行,一个整数 。
第二行, 个整数 。
输出格式
一个整数,表示最少修改多少个数字。
3
1 3 2
1
8
1 2 3 4 4 5 6 7
1
提示
-
对于 的数据,。
-
对于 的数据,。
州庆线性DP,ABC班皆可做
- Status
- Done
- Problem
- 42
- Open Since
- 2025-11-12 0:00
- Deadline
- 2025-11-22 23:59
- Extension
- 24 hour(s)