Problem | lboard |
---|---|
User | Um |
Submission Time | 2023-11-02 10:21:37 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lboard.cpp:3:21: error: variable or field ‘horizontal_sum’ declared void
3 | void horizontal_sum(x,y,p3){
| ^
lboard.cpp:3:21: error: ‘x’ was not declared in this scope
lboard.cpp:3:23: error: ‘y’ was not declared in this scope; did you mean ‘yn’?
3 | void horizontal_sum(x,y,p3){
| ^
| yn
lboard.cpp:3:25: error: ‘p3’ was not declared in this scope
3 | void horizontal_sum(x,y,p3){
| ^~
lboard.cpp: In function ‘int main()’:
lboard.cpp:27:35: error: expected primary-expression before ‘int’
27 | int current= int horizontal_sum(x,y,p3);
| ^~~
lboard.cpp:28:32: error: expected initializer before ‘+=’ token
28 | int current+=int vertical_sum(x,y,p2);
| ^~
lboard.cpp:29:33: error: expected initial