/in/foo.cc:2:13: error: 'longlong' does not name a type
#define lls longlong
^
/in/foo.cc:4:1: note: in expansion of macro 'lls'
lls m[1005][1005], sum[1005][1005], dp[1005][1005], dp2[1005][1005];
^~~
/in/foo.cc:2:13: error: 'longlong' does not name a type
#define lls longlong
^
/in/foo.cc:5:1: note: in expansion of macro 'lls'
lls n, k;
^~~
/in/foo.cc:2:13: error: 'longlong' does not name a type
#define lls longlong
^
/in/foo.cc:6:8: note: in expansion of macro 'lls'
inline lls mark1(int i, int j)
^~~
/in/foo.cc:2:13: error: 'longlong' does not name a type
#define lls longlong
^
/in/foo.cc:12:8: note: in expansion of macro 'lls'
inline lls mark2(int i, int j)
^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:18:16: error: 'n' was not declared in this scope
scanf("%d%d", &n, &k);
^
/in/foo.cc:18:20: error: 'k' was not declared in this scope
scanf("%d%d", &n, &k);
^
/in/foo.cc:21:14: error: 'm' was not declared in this scope
scanf("%d", &m[i][j]);
^
/in/foo.cc:23:1: error: 'sum' was not declared in this scope
sum[0][i] = sum[i][0] = 0;
^~~
/in/foo.cc:26:1: error: 'sum' was not declared in this scope
sum[i][j] = m[i][j]+sum[i-1][j]+sum[i][j-1]-sum[i-1][j-1];
^~~
/in/foo.cc:26:13: error: 'm' was not declared in this scope
sum[i][j] = m[i][j]+sum[i-1][j]+sum[i][j-1]-sum[i-1][j-1];
^
/in/foo.cc:29:1: error: 'dp' was not declared in this scope
dp[i][j] = dp2[i][j] = LONG_MIN;
^~
/in/foo.cc:29:12: error: 'dp2' was not declared in this scope
dp[i][j] = dp2[i][j] = LONG_MIN;
^~~
/in/foo.cc:32:1: error: 'dp' was not declared in this scope
dp[i][j] = max(mark1(i, j), max(dp[i-1][j], dp[i][j-1]));
^~
/in/foo.cc:32:26: error: 'mark1' was not declared in this scope
dp[i][j] = max(mark1(i, j), max(dp[i-1][j], dp[i][j-1]));
^
/in/foo.cc:35:1: error: 'dp2' was not declared in this scope
dp2[i][j] = max(mark2(i, j), max(dp2[i+1][j], dp2[i][j+1]));
^~~
/in/foo.cc:35:27: error: 'mark2' was not declared in this scope
dp2[i][j] = max(mark2(i, j), max(dp2[i+1][j], dp2[i][j+1]));
^
/in/foo.cc:38:16: error: 'dp' was not declared in this scope
ans = max(ans, dp[n][i]+dp2[1][i+1]);
^~
/in/foo.cc:38:25: error: 'dp2' was not declared in this scope
ans = max(ans, dp[n][i]+dp2[1][i+1]);
^~~