摘要:
#include <cstring> #include <string> #include <algorithm> #include <cmath> #include <iostream> #include <vector> using namespace std; bool operator<(v 阅读全文
posted @ 2024-08-23 13:03
PM_pro
阅读(16)
评论(0)
推荐(0)
摘要:
题意 有一个序列 \(a\),进行形如如下的操作: 1.格式为 1 l r,求 \(\sum_{i=l}^r a_{i}\) 输出。 2.格式为 2 l r x,对区间 \([l,r]\) 取模,模数为 \(x\)。 3.格式为 3 x k,修改 \(x\) 为 \(k\)。 思路 考虑操作 \(1 阅读全文
posted @ 2024-08-23 11:41
PM_pro
阅读(15)
评论(0)
推荐(0)

浙公网安备 33010602011771号