0_0_37758561_13567.cpp:3:1: error: 'P' does not name a type
P = 998244353;
^
0_0_37758561_13567.cpp: In function 'int main()':
0_0_37758561_13567.cpp:33:62: error: 'P' was not declared in this scope
dp[i][0] = (1ll * dp[i - 1][0] + dp[i][0]) % P;
^
0_0_37758561_13567.cpp:35:62: error: 'P' was not declared in this scope
dp[i][0] = (1ll * dp[i - 1][1] + dp[i][0]) % P;
^
0_0_37758561_13567.cpp:40:62: error: 'P' was not declared in this scope
dp[i][1] = (1ll * dp[i - 1][1] + dp[i][1]) % P;
^
0_0_37758561_13567.cpp:42:62: error: 'P' was not declared in this scope
dp[i][1] = (1ll * dp[i - 1][0] + dp[i][1]) % P;
^
0_0_37758561_13567.cpp:45:55: error: 'P' was not declared in this scope
cout << (1ll * dp[n * 2][0] + dp[n * 2][1]) % P << endl;
^
|