首页 > 智乃酱的前缀和与差分
头像 算法小学生h航
发表于 2026-04-13 11:36:17
以下是此题代码 #include<bits/stdc++.h> using namespace std; const int MOD = 998244353; const int G = 3; int modpow(int a, int e) { int res = 1; while ( 展开全文