5 3 1 1 3 1 2 2 3 3 4
正确输出为8,此题数据非常水,故很多题解能被卡掉。 单调队列为正解,而优先队列能过此题但不是正解。数据加强版参考https://www.luogu.com.cn/problem/P2209 P2209只有单调队列能过