0_0_30401810_21781.cpp: In function 'void solve()':
0_0_30401810_21781.cpp:58:12: error: 'ans' was not declared in this scope
if (i&1) ans+=f[i][j][k][w]*i*w;
^
0_0_30401810_21781.cpp:60:2: error: 'ans' was not declared in this scope
ans=1ll*ans*inv(m)%P;
^
|