/in/foo.cc:8:12: error: expected unqualified-id before 'long'
8 | #define ll long long
| ^~~~
/in/foo.cc:13:11: note: in expansion of macro 'll'
13 | ll m,n,kk,ll,t[10][MAXN],sum[10][MAXN],ans=MOD,f[10][MAXN];
| ^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:16:12: error: 'f' was not declared in this scope
16 | memset(f,0x3f,sizeof(f));
| ^
/in/foo.cc:8:12: error: expected primary-expression before 'long'
8 | #define ll long long
| ^~~~
/in/foo.cc:17:41: note: in expansion of macro 'll'
17 | scanf("%lld%lld%lld%lld",&m,&n,&kk,&ll);
| ^~
/in/foo.cc:21:25: error: 't' was not declared in this scope
21 | scanf("%d",&t[i][j]);
| ^
/in/foo.cc:22:13: error: 'sum' was not declared in this scope
22 | sum[i][j]=sum[i][j-1]+t[i][j];
| ^~~
/in/foo.cc:8:12: error: expected primary-expression before 'long'
8 | #define ll long long
| ^~~~
/in/foo.cc:30:25: note: in expansion of macro 'll'
30 | for(int l=j-ll;l<=j-1;l++)
| ^~
/in/foo.cc:33:53: error: 'sum' was not declared in this scope
33 | f[i][j]=min(f[i][j],f[k][l]+sum[i][j]-sum[i][l]+kk);
| ^~~
/in/foo.cc:35:9: error: 'ans' was not declared in this scope; did you mean 'abs'?
35 | ans=min(ans,f[i][m]);
| ^~~
| abs
/in/foo.cc:36:19: error: 'ans' was not declared in this scope; did you mean 'abs'?
36 | printf("%lld",ans-kk);
| ^~~
| abs