0_0_14531386_1595.cpp:6:1: error: 'LL' does not name a type
LL fac[maxn],f[maxn],inv[maxn];
^
0_0_14531386_1595.cpp: In function 'void init()':
0_0_14531386_1595.cpp:9:5: error: 'fac' was not declared in this scope
fac[0]=fac[1]=f[0]=f[1]=inv[0]=inv[1]=1;
^
0_0_14531386_1595.cpp:9:19: error: 'f' was not declared in this scope
fac[0]=fac[1]=f[0]=f[1]=inv[0]=inv[1]=1;
^
0_0_14531386_1595.cpp:9:29: error: 'inv' was not declared in this scope
fac[0]=fac[1]=f[0]=f[1]=inv[0]=inv[1]=1;
^
0_0_14531386_1595.cpp:13:9: error: 'LL' was not declared in this scope
LL t=mod/i,k=mod%i;
^
0_0_14531386_1595.cpp:14:19: error: 't' was not declared in this scope
f[i]=(mod-t)*f[k]%mod;
^
0_0_14531386_1595.cpp:14:24: error: 'k' was not declared in this scope
f[i]=(mod-t)*f[k]%mod;
^
0_0_14531386_1595.cpp: At global scope:
0_0_14531386_1595.cpp:18:1: error: 'LL' does not name a type
LL C(LL n,LL m)
^
0_0_14531386_1595.cpp: In function 'int solve(int, int, int)':
0_0_14531386_1595.cpp:29:39: error: 'c' was not declared in this scope
if(k==2) return (0LL+c(2*n+1,3)-(1LL*n*(n+1)*(2*n+1)/6)%mod+mod)%mod;
^
0_0_14531386_1595.cpp:33:42: error: 'c' was not declared in this scope
return 1LL*(2*n+1)*(0LL+c(n+1,m-1)+c(n,m-1))%mod;
^
0_0_14531386_1595.cpp:35:47: error: 'c' was not declared in this scope
return 1LL*(2*n+1)*(m-4)%mod*c(n+1,m-1)%mod;
^
0_0_14531386_1595.cpp:37:30: error: 'c' was not declared in this scope
return (0LL+c(2*n+1,m)-1LL*(2*n+1)*(0LL+c(n+1,m-1)+c(n,m-1))%mod-1LL*(2*n+1)*(m-4)%mod*c(n+1,m-1)%mod+2*mod)%mod;
^
|