/in/foo.cc:4:59: error: expected initializer before '\U0000ff1b'
4 | int n,m,r,c,a[N][N],sum[N][N],d[N],dp[N][N],ans=INF,sel[N];
| ^~
/in/foo.cc: In function 'void dfs(int)':
/in/foo.cc:40:25: error: 'sel' was not declared in this scope
40 | for(int i=(dep==1?1:sel[dep-1]+1);i<=n-(r-dep);++i)
| ^~~
/in/foo.cc:46:40: error: 'zz' was not declared in this scope
46 | for(int j=1;j<=m;++j)d[j]+=zz[p][i][j];
| ^~
/in/foo.cc:50:28: error: 'ymq' was not declared in this scope
50 | sum[x][y]+=ymq[x][y][i];
| ^~~
/in/foo.cc:55:40: error: 'zz' was not declared in this scope
55 | for(int j=1;j<=m;++j)d[j]-=zz[p][i][j];
| ^~
/in/foo.cc:59:28: error: 'ymq' was not declared in this scope
59 | sum[x][y]-=ymq[x][y][i];
| ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:71:17: error: 'zz' was not declared in this scope
71 | zz[i][j][k]=zz[j][i][k]=abs(a[i][k]-a[j][k]);
| ^~
/in/foo.cc:75:17: error: 'ymq' was not declared in this scope
75 | ymq[i][j][k]=ymq[j][i][k]=abs(a[k][i]-a[k][j]);
| ^~~