foo.cc: In function 'int main()':
foo.cc:8:22: warning: right operand of comma operator has no effect [-Wunused-value]
8 | dp[2][0]=5,dp;[2][1]=2;
| ^
foo.cc:8:24: error: expected identifier before numeric constant
8 | dp[2][0]=5,dp;[2][1]=2;
| ^
foo.cc: In lambda function:
foo.cc:8:26: error: expected '{' before '[' token
8 | dp[2][0]=5,dp;[2][1]=2;
| ^
foo.cc: In function 'int main()':
foo.cc:8:26: error: no match for 'operator[]' (operand types are 'main()::<lambda()>' and 'int')
foo.cc:11:18: error: 'i' was not declared in this scope
11 | cout<<dp[i][0]<<" "<<dp[i][1];
| ^
[Hydro](https://hydro.ac)提供评测服务