03 2023 档案
The 2022 ICPC Asia Hangzhou Regional Programming Contest
摘要:比赛链接: https://codeforces.com/gym/104090 A. Modulo Ruins the Legend 题意: 给定一个序列 $a$,让序列加上一个等差序列,求出总和 % $m$ 的最小值以及等差序列的 $s$ 和公差 $d$。 思路: 定义 $\sum_{i = 1}
阅读全文