摘要:
北上广深 问题 求解离散对数,即下方程中的 \(k\): \[a ^ k \equiv b \pmod p \]方法 设 \(k = A \times x - y\),则有: \[a ^ {A \times x - y} \equiv b \pmod p \]移项: \[a ^ {Ax} \equi 阅读全文
摘要:
目录dp + 计数Not High ElementReversi 3Distinct Sum Grid PathABS BallCatch All ApplesPaint Tree 2Yet Another Grid TaskCounting Shortest PathsElectric Circu 阅读全文