/in/foo.cc:1:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
/in/foo.cc:2:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:10:5: error: 'cin' was not declared in this scope
cin >> n >> m;
^~~
/in/foo.cc:17:54: error: 'abs' was not declared in this scope
dp[i][j] = dp[i-1][j+i] + dp[i-1][abs(j-i)];
^
/in/foo.cc:21:9: error: 'cout' was not declared in this scope
cout << dp[n][m] / 2 << endl;
^~~~
/in/foo.cc:21:33: error: 'endl' was not declared in this scope
cout << dp[n][m] / 2 << endl;
^~~~
/in/foo.cc:23:9: error: 'cout' was not declared in this scope
cout << dp[n][m] << endl;
^~~~
/in/foo.cc:23:29: error: 'endl' was not declared in this scope
cout << dp[n][m] << endl;
^~~~
/in/foo.cc:11:9: warning: unused variable 'sum' [-Wunused-variable]
int sum = 0;
^~~