0_0_20342046_22875.cpp:67:8: error: 'MAXN' was not declared in this scope
LL fac[MAXN + 10], inv[MAXN + 10], facinv[MAXN + 10];
^
0_0_20342046_22875.cpp:67:24: error: 'MAXN' was not declared in this scope
LL fac[MAXN + 10], inv[MAXN + 10], facinv[MAXN + 10];
^
0_0_20342046_22875.cpp:67:43: error: 'MAXN' was not declared in this scope
LL fac[MAXN + 10], inv[MAXN + 10], facinv[MAXN + 10];
^
0_0_20342046_22875.cpp: In function 'void init()':
0_0_20342046_22875.cpp:69:5: error: 'fac' was not declared in this scope
fac[0] = fac[1] = inv[1] = inv[0] = facinv[0] = facinv[1] = 1;
^
0_0_20342046_22875.cpp:69:23: error: 'inv' was not declared in this scope
fac[0] = fac[1] = inv[1] = inv[0] = facinv[0] = facinv[1] = 1;
^
0_0_20342046_22875.cpp:69:41: error: 'facinv' was not declared in this scope
fac[0] = fac[1] = inv[1] = inv[0] = facinv[0] = facinv[1] = 1;
^
0_0_20342046_22875.cpp:70:24: error: 'MAXN' was not declared in this scope
for(int i = 2; i < MAXN; ++i){
^
0_0_20342046_22875.cpp: In function 'int main()':
0_0_20342046_22875.cpp:88:31: error: 'facinv' was not declared in this scope
x1[i] = po[n-i] * facinv[i] % MOD;
^
0_0_20342046_22875.cpp:89:37: error: 'fac' was not declared in this scope
x2[i] = a[i] * (i > 0 ? fac[i - 1] : 0) % MOD;
^
0_0_20342046_22875.cpp:98:86: error: 'facinv' was not declared in this scope
for(int i = 1; i <= n; i++)dp[i] = (dp[i - 1] + x1[n - i] * invpo[i] % MOD * facinv[i - 1] % MOD) % MOD;
^
|