求助分块 65 pts

P1975 [国家集训队] 排队

cjld我求求你别卷了
by Etinorally @ 2022-10-02 10:43:12


目前发现一个错误,添加 `r[tot] = n;`。目前分数 $70$。
by Register_int @ 2022-10-02 10:55:07


@[Register_int](/user/406941) [https://www.luogu.com.cn/discuss/432534](https://www.luogu.com.cn/discuss/432534)
by Error_Yuan @ 2022-10-02 11:50:25


@[Error_Yuan](/user/358748) ```cpp if (a[ql] == a[qr]) { printf("%lld\n", ans); continue; } ```
by Register_int @ 2022-10-02 11:56:12


|