https://www.gravatar.com/avatar/8f3abece0f8608ce4b9c1e3212fd1b72?s=240&d=mp

一个蒟蒻、|

CF1398F-Controversial Rounds

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 x rounds in a row. For example, if Bob won five rounds in a row and $ x

P4725-【模板】多项式对数函数(多项式 ln)

P4725-【模板】多项式对数函数(多项式 ln) 题目: 题目描述: 给出 n1n-1 次多项式 A(x)A(x),求一个 mod:xn\bmod{:x^n} 下的多项式 B(x)B(x),满足 B(x)lnA(x)B(x) \equiv \ln A(x). 在 $\text{mod

CF1398E-Two Types of Spells

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 x deals x x damage to the monster, and lightning spell of power y y deals y y damage to the monster and doubles the damage of