【题解】[牛客网NOIP赛前集训营-提高组(第五场)]A.同余方程 位运算

#include<cstdio> #include<algorithm> using namespace std; typedef long long ll; const ll mod=998244353; ll m,l1,l2,r1,r2; ll get(ll l,ll r){return r/m-(l==0?-1:(l-1)/m);} ll cal(ll l,ll r) { ll ans=0
相关文章
相关标签/搜索