https://www.luogu.com.cn/problem/P5828 和 上一题 几乎一样,双倍经验! #include using namespace lastweapon; Poly H, HH; int n; LL C2(LL n) { return n*(n-1)/2; } int b(int n) { Poly A(n); REP(i, n) A[i] = H[i] * -n; …
https://www.luogu.com.cn/problem/P5828 和 上一题 几乎一样,双倍经验! #include using namespace lastweapon; Poly H, HH; int n; LL C2(LL n) { return n*(n-1)/2; } int b(int n) { Poly A(n); REP(i, n) A[i] = H[i] * -n; …
讨论
登录后参与讨论
还没有评论,来说第一句吧。