quality.cpp:12:43: error: declaration of 'Q' as multidimensional array must have bounds for all dimensions except the first
12 | int rectangle(int R,int C,int H,int W,int Q[][]){
| ^
quality.cpp: In function 'int rectangle(...)':
quality.cpp:13:13: error: 'R' was not declared in this scope
13 | int sum[R+1][C+1],m=H*W/2+1;
| ^
quality.cpp:13:18: error: 'C' was not declared in this scope
13 | int sum[R+1][C+1],m=H*W/2+1;
| ^
quality.cpp:13:25: error: 'H' was not declared in this scope
13 | int sum[R+1][C+1],m=H*W/2+1;
| ^
quality.cpp:13:27: error: 'W' was not declared in this scope
13 | int sum[R+1][C+1],m=H*W/2+1;
| ^
quality.cpp:18:9: error: 'sum' was not declared in this scope
18 | sum[0][0]=0;
| ^~~
quality.cpp:25:66: error: 'Q' was not declared in this scope
25 | sum[i][j]=sum[i-1][j]+sum[i][j-1]-sum[i-1][j-1]+(Q[i-1][j-1]<=mid);
| ^