P9306 GCS56 · 2025-09-08 19:12:40 · 题解 https://www.luogu.com.cn/problem/P9306 很显然,最大值后面的位置权值都为零,所以对最大值的位置、个数等进行分讨,具体的明天再说吧,今天写累了。