0_0_37760625_31275.cpp: In function 'void solve()':
0_0_37760625_31275.cpp:84:12: error: missing template arguments before 'dp'
vector dp(2 * n + 1, vector<Z>(2));
^
0_0_37760625_31275.cpp: In lambda function:
0_0_37760625_31275.cpp:87:13: error: 'dp' was not declared in this scope
if (dp[x + y][tar].val()) return dp[x + y][tar];
^
0_0_37760625_31275.cpp:88:40: error: 'dp' was not declared in this scope
if (x > 0 && a[x] == s[x + y]) dp[x + y][tar] += dfs(x - 1, y, 0);
^
0_0_37760625_31275.cpp:89:40: error: 'dp' was not declared in this scope
if (y > 0 && b[y] == s[x + y]) dp[x + y][tar] += dfs(x, y - 1, 1);
^
0_0_37760625_31275.cpp:90:16: error: 'dp' was not declared in this scope
return dp[x + y][tar];
^
|