摘要: 引入 Floor Sum 令 \(f(a,b,c,n)=\displaystyle \sum_{i=0}^{n}\lfloor\dfrac{a\times i+b}{c}\rfloor\)。我们要求的就是这个东西。 考虑如果 \(a,b\) 中有一个大于等于 \(c\)。那么有: \[f(a,b,c 阅读全文
posted @ 2025-10-20 21:11 zxh923 阅读(9) 评论(0) 推荐(0)