Problem lboard
User electron13
Submission Time 2023-02-16 17:23:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lboard.cpp: In function ‘int main()’:
lboard.cpp:7:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
7 | cin >> n,m;
| ^
| yn
lboard.cpp:7:11: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
7 | cin >> n,m;
| ^
| tm
lboard.cpp:18:4: error: ‘c’ was not declared in this scope
18 | c[j] = inp;
| ^
lboard.cpp:20:3: error: ‘r’ was not declared in this scope
20 | r[i] = c;
| ^
lboard.cpp:20:10: error: ‘c’ was not declared in this scope
20 | r[i] = c;
| ^
lboard.cpp:27:23: error: ‘j’ was not declared in this scope
27 | for(int v = v;v >=0;j--){
| ^
lboard.cpp:32:11: error: ‘r’ was not declared in this scope
32 | arr = [r[v-1][u-1],r[v-1][u],r[v-1][u+1],r[v][u-1],r[v][u],r[v][u+1],r[v-1][u-1],r[v-1][u],r[v-1][u+1]];
|