supertrees.cpp:22:18: error: multidimensional array must have bounds for all dimensions except the first
22 | void build(int[][] b){
| ^
supertrees.cpp:22:20: error: expected ',' or '...' before 'b'
22 | void build(int[][] b){
| ^
supertrees.cpp:26:21: error: multidimensional array must have bounds for all dimensions except the first
26 | int construct(int[][] p){
| ^
supertrees.cpp:26:23: error: expected ',' or '...' before 'p'
26 | int construct(int[][] p){
| ^
supertrees.cpp: In function 'int construct()':
supertrees.cpp:27:3: error: 'n' was not declared in this scope; did you mean 'yn'?
27 | n = (sizeof(p)/sizeof(*p));
| ^
| yn
supertrees.cpp:27:15: error: 'p' was not declared in this scope; did you mean 'pi'?
27 | n = (sizeof(p)/sizeof(*p));
| ^
| pi
supertrees.cpp:28:6: error: structured binding declaration cannot have type 'int'
28 | int[n][n] ans;
| ^~~
supertrees.cpp:28:6: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'
supertrees.cpp:28:9: error: expected initializer before '[' token
28 | int[n][n] ans;
| ^
supertrees.cpp:31:5: error: 'ans' was not declared in this scope; did you mean 'abs'?
31 | ans[0][i] = 1;
| ^~~
| abs
supertrees.cpp:34:9: error: 'ans' was not declared in this scope; did you mean 'abs'?
34 | build(ans);
| ^~~
| abs
supertrees.cpp:28:6: warning: unused structured binding declaration [-Wunused-variable]
28 | int[n][n] ans;
| ^~~