0_0_33673202_16343.cpp:8:1: error: 'll' does not name a type
ll f[maxn][maxn];
^
0_0_33673202_16343.cpp:11:1: error: 'll' does not name a type
ll fac[maxn],ifac[maxn];
^
0_0_33673202_16343.cpp:12:1: error: 'll' does not name a type
ll qpow(ll a,ll b){
^
0_0_33673202_16343.cpp: In function 'void init()':
0_0_33673202_16343.cpp:23:2: error: 'fac' was not declared in this scope
fac[0]=1;
^
0_0_33673202_16343.cpp:26:2: error: 'ifac' was not declared in this scope
ifac[maxn-1]=qpow(fac[maxn-1],mod-2);
^
0_0_33673202_16343.cpp:26:37: error: 'qpow' was not declared in this scope
ifac[maxn-1]=qpow(fac[maxn-1],mod-2);
^
0_0_33673202_16343.cpp: In function 'int A(int, int)':
0_0_33673202_16343.cpp:31:13: error: 'fac' was not declared in this scope
return 1ll*fac[n]*ifac[n-m]%mod;
^
0_0_33673202_16343.cpp:31:20: error: 'ifac' was not declared in this scope
return 1ll*fac[n]*ifac[n-m]%mod;
^
0_0_33673202_16343.cpp: In function 'int main()':
0_0_33673202_16343.cpp:43:16: error: 'f' was not declared in this scope
dp[i][j]=0,f[i][j]=0;
^
0_0_33673202_16343.cpp:45:3: error: 'f' was not declared in this scope
f[1][1]=1ll*dp[1][1]*fac[(1)*k]%mod;
^
0_0_33673202_16343.cpp:45:24: error: 'fac' was not declared in this scope
f[1][1]=1ll*dp[1][1]*fac[(1)*k]%mod;
^
0_0_33673202_16343.cpp:50:30: error: 'ifac' was not declared in this scope
dp[i][j]=1ll*f[i-1][j-1]*ifac[(j-1)*k+j-i]%mod;
^
0_0_33673202_16343.cpp:59:21: error: 'qpow' was not declared in this scope
Sum=qpow(Sum,mod-2);
^
|