0_0_37757094_11333.cpp: In function 'void solve()':
0_0_37757094_11333.cpp:11:12: error: missing template arguments before 'dp'
vector dp(2*n+1,vector<int>(2,-1));
^
0_0_37757094_11333.cpp: In lambda function:
0_0_37757094_11333.cpp:14:12: error: 'dp' was not declared in this scope
if(dp[i+j-1][id]!=-1)return dp[i+j-1][id];
^
0_0_37757094_11333.cpp:18:9: error: 'dp' was not declared in this scope
dp[i+j-1][id]=ans;
^
|