0_0_30474308_12651.cpp:37:12: error: invalid use of non-static data member 'Combine8388608::mod'
ll mod=8388608,mask=8388607;
^
0_0_30474308_12651.cpp:49:12: error: from this location
ll fac[mod+5],inv[mod+5];
^
0_0_30474308_12651.cpp:37:12: error: invalid use of non-static data member 'Combine8388608::mod'
ll mod=8388608,mask=8388607;
^
0_0_30474308_12651.cpp:49:23: error: from this location
ll fac[mod+5],inv[mod+5];
^
0_0_30474308_12651.cpp: In member function 'll Combine8388608::Inv(ll)':
0_0_30474308_12651.cpp:51:12: error: 'inv' was not declared in this scope
if(inv[x]==0)inv[x]=inverse(x,mod);
^
0_0_30474308_12651.cpp:52:16: error: 'inv' was not declared in this scope
return inv[x];
^
0_0_30474308_12651.cpp: In constructor 'Combine8388608::Combine8388608()':
0_0_30474308_12651.cpp:55:9: error: 'fac' was not declared in this scope
fac[0]=1;
^
0_0_30474308_12651.cpp: In member function 'll Combine8388608::factorial(ll)':
0_0_30474308_12651.cpp:61:23: error: 'fac' was not declared in this scope
if(n<2)return fac[n];
^
0_0_30474308_12651.cpp:63:25: error: 'fac' was not declared in this scope
ll ans=fpow(fac[mod-1],n>>23,mod)*fac[n%mod]%mod;
^
|