摘要:
``` //序列具有周期性 #include #include #include #include using namespace std; typedef long long ll; const int N=5e4+10; ll sum[N]; ll a,b,q; ll calc(ll x) { return x/(a*b)*sum[a*b]+1ll*sum[x%(a*b)]; } void s 阅读全文
posted @ 2020-04-29 17:06
晴屿
阅读(85)
评论(0)
推荐(0)

浙公网安备 33010602011771号