「codeforces - 1674F」Madoka and Laziness
link。如果做过 codeforces - 1144G 那这题最多 *2200。序列中的最大值必然为其中一个拐点,不妨设 $a_p = a_\max$,先讨论另一个拐点 $i$ 在 $p$ 左...
In mathematics you don't understand things, you just get used to them.
In mathematics you don't understand things, you just get used to them.