摘要: https://www.luogu.org/blog/shiqingyu/solution-p5170 公式要记 (ai+b)/c; #include<bits/stdc++.h> #define ll long long using namespace std; const int mod=998 阅读全文