P5665-划分 题目: 题目描述: 2048 年,第三十届 CSP 认证的考场上,作为选手的小明打开了第一题。这个题的样例有 $n$ 组数据,数据从 $1 \sim n$ 编号,$i$ 号
P2607-[ZJOI2008]骑士 题目: 题目描述: Z 国的骑士团是一个很有势力的组织,帮会中汇聚了来自各地的精英。他们劫富济贫,惩恶扬善,受
CF1398F-Controversial Rounds 题目: 题目描述: Alice and Bob play a game. The game consists of several sets, and each set consists of several rounds. Each round is won either by Alice or by Bob, and the set ends when one of the players has won $ x $ rounds in a row. For example, if Bob won five rounds in a row and $ x
P4725-【模板】多项式对数函数(多项式 ln) 题目: 题目描述: 给出 $n-1$ 次多项式 $A(x)$,求一个 $\bmod{:x^n}$ 下的多项式 $B(x)$,满足 $B(x) \equiv \ln A(x)$. 在 $\text{mod
P4148-简单题 题目: 题目描述: 你有一个$N \times N$的棋盘,每个格子内有一个整数,初始时的时候全部为 0,现在需要维护两种操作: 1 x y A $1\le x,y\le N
CF1398E-Two Types of Spells 题目: 题目描述: Polycarp plays a computer game (yet again). In this game, he fights monsters using magic spells. There are two types of spells: fire spell of power $ x $ deals $ x $ damage to the monster, and lightning spell of power $ y $ deals $ y $ damage to the monster and doubles the damage of