版本比较
『ETOI R1』高山低谷 solution
正文
增加 1 行删除 1 行
23 行未改动2425262728282930313250 行未改动23 行未改动const int base = 114514;const int mod = 1e9 + 7;
int n,Q,B,cur;int a[N],cnt[N]; int a[N],cnt[N];int fac[N],ans[N],pw[N];struct qq{ int l,r; int id;50 行未改动