0_0_33753194_7233.cpp: In function 'll inv(ll)':
0_0_33753194_7233.cpp:4:35: error: 'mod' was not declared in this scope
ll inv(ll b){return b==1||b==0?1:(mod-mod/b)*inv(mod%b)%mod;}
^
0_0_33753194_7233.cpp: At global scope:
0_0_33753194_7233.cpp:5:6: error: 'N' was not declared in this scope
ll f[N];
^
0_0_33753194_7233.cpp: In function 'll C(ll, ll)':
0_0_33753194_7233.cpp:7:12: error: 'f' was not declared in this scope
return f[n]*inv(f[m])%mod*inv(f[n-m])%mod;
^
0_0_33753194_7233.cpp:7:27: error: 'mod' was not declared in this scope
return f[n]*inv(f[m])%mod*inv(f[n-m])%mod;
^
0_0_33753194_7233.cpp: In function 'void init()':
0_0_33753194_7233.cpp:11:5: error: 'f' was not declared in this scope
f[0]=1;
^
0_0_33753194_7233.cpp:12:19: error: 'N' was not declared in this scope
for(int i=1;i<N;i++)
^
0_0_33753194_7233.cpp:13:23: error: 'mod' was not declared in this scope
f[i]=f[i-1]*i%mod;
^
0_0_33753194_7233.cpp: At global scope:
0_0_33753194_7233.cpp:16:7: error: 'N' was not declared in this scope
int _[N],er[N],__[N];
^
0_0_33753194_7233.cpp:16:13: error: 'N' was not declared in this scope
int _[N],er[N],__[N];
^
0_0_33753194_7233.cpp:16:19: error: 'N' was not declared in this scope
int _[N],er[N],__[N];
^
0_0_33753194_7233.cpp: In function 'void solve()':
0_0_33753194_7233.cpp:36:17: error: 'sc' was not declared in this scope
sc("%lld",&n);
^
0_0_33753194_7233.cpp:37:48: error: 'pr' was not declared in this scope
for(int i=1;i<=n/2;++i)pr("0%c"," \n"[i==n]);
^
0_0_33753194_7233.cpp:38:17: error: '_' was not declared in this scope
pr("%lld%c",_[n/2]*qpow(__[n/2],mod-2,mod)%mod," \n"[n==1]);
^
0_0_33753194_7233.cpp:38:29: error: '__' was not declared in this scope
pr("%lld%c",_[n/2]*qpow(__[n/2],mod-2,mod)%mod," \n"[n==1]);
^
0_0_33753194_7233.cpp:38:37: error: 'mod' was not declared in this scope
pr("%lld%c",_[n/2]*qpow(__[n/2],mod-2,mod)%mod," \n"[n==1]);
^
0_0_33753194_7233.cpp:38:63: error: 'pr' was not declared in this scope
pr("%lld%c",_[n/2]*qpow(__[n/2],mod-2,mod)%mod," \n"[n==1]);
^
0_0_33753194_7233.cpp:44:53: error: 'er' was not declared in this scope
pr("%lld%c",_[2*k]*C(x,y)%mod*_[y]%mod*qpow(er[k]*_[k]%mod,mod-2,mod)%mod*qpow(__[n/2],mod-2,mod)%mod," \n"[i==n]);
^
0_0_33753194_7233.cpp: In function 'int main()':
0_0_33753194_7233.cpp:51:5: error: '_' was not declared in this scope
_[0]=1;
^
0_0_33753194_7233.cpp:52:5: error: 'er' was not declared in this scope
er[0]=1;
^
0_0_33753194_7233.cpp:53:5: error: '__' was not declared in this scope
__[0]=1;
^
0_0_33753194_7233.cpp:55:19: error: 'N' was not declared in this scope
for(int i=1;i<N;++i)
^
0_0_33753194_7233.cpp:56:29: error: 'mod' was not declared in this scope
tt+=2,_[i]=_[i-1]*i%mod,er[i]=er[i-1]*2%mod,__[i]=__[i-1]*tt%mod;
^
0_0_33753194_7233.cpp:59:17: error: 'sc' was not declared in this scope
sc("%lld",&T);
^
|