跳到正文

题解

题目 CF2184G

存档题解 1 篇按获赞排序

在洛谷打开

题解

  1. 0 赞

    题解:CF2184G Nastiness of Segments

    题解:CF2184G Nastiness of Segments 题意简述 给定 n 个初始值为 a_i 的积木,执行 q 次操作,操作分为两种:修改某个积木的数值;查询区间 [l,r] 内的讨厌数个数。其中讨厌数的定义为:对于区间 [l,r],若整数 d (0 ≤ d ≤ r-…