Compile Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:14:14: error: expected ',' before '-' token
f[i][j]=[i-1][j-1]+d[i];
^
/in/foo.cc:14:14: error: expected identifier before '-' token
/in/foo.cc: In lambda function:
/in/foo.cc:14:17: error: expected '{' before '[' token
f[i][j]=[i-1][j-1]+d[i];
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:14:17: error: no match for 'operator[]' (operand types are 'main()::<lambda()>' and 'int')