0_0_30094535_19345.cpp: In function 'int main()':
0_0_30094535_19345.cpp:35:45: error: 'P' was not declared in this scope
(f[j][k][cur-1][c]+=f[i][j][k][c^1])%=P;
^
0_0_30094535_19345.cpp:53:30: error: 'P' was not declared in this scope
(ans+=f[i][j][k][n&1])%=P;
^
|