Problem | lboard |
---|---|
User | Um |
Submission Time | 2023-11-02 11:17:03 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lboard.cpp: In function ‘int main()’:
lboard.cpp:20:5: error: ‘p3’ was not declared in this scope
20 | if (p3>x){
| ^~
lboard.cpp:20:8: error: ‘x’ was not declared in this scope
20 | if (p3>x){
| ^
lboard.cpp:21:27: error: expected ‘;’ before ‘{’ token
21 | for(int i=0;i<(x+(+1)){
| ^
| ;
lboard.cpp:21:27: error: expected primary-expression before ‘{’ token
lboard.cpp:21:27: error: expected ‘)’ before ‘{’ token
21 | for(int i=0;i<(x+(+1)){
| ~ ^
| )
lboard.cpp:22:6: error: ‘ay’ was not declared in this scope; did you mean ‘ar’?
22 | sum+=ay[y][i];
| ^~
| ar
lboard.cpp:22:9: error: ‘y’ was not declared in this scope
22 | sum+=ay[y][i];
| ^
lboard.cpp:24:9: error: expected ‘}’ before ‘else’
24 |