摘要:
D. ConstructOR You are given three integers $a$, $b$, and $d$. Your task is to find any integer $x$ which satisfies all of the following conditions, o 阅读全文
posted @ 2022-11-15 20:02
onlyblues
阅读(109)
评论(4)
推荐(0)
摘要:
区间最大公约数 给定一个长度为 $N$ 的数列 $A$,以及 $M$ 条指令,每条指令可能是以下两种之一: C l r d ,表示把 $A[l],A[l+1], \ldots ,A[r]$ 都加上 $d$。 Q l r ,表示询问 $A[l],A[l+1], \ldots ,A[r]$ 的最大公约数 阅读全文
posted @ 2022-11-15 14:38
onlyblues
阅读(504)
评论(0)
推荐(0)

浙公网安备 33010602011771号