摘要: 给定一个长度为 $n$ 的序列 ${a_n}$,对于每个 $i\in [1,n]$ ,求出一个最小的非负整数 $p$ ,使得 $\forall j\in[1,n]$,都有 $a_j\le a_i+p-\sqrt{|i-j|}$ $1 \le n \le 5\times 10^{5}$,$0 \le 阅读全文
posted @ 2023-04-09 00:09 腾云今天首飞了吗 阅读(13) 评论(0) 推荐(0) 编辑