Problem lboard
User Louis
Submission Time 2024-03-14 18:33:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lboard.cpp: In function ‘int main()’:
lboard.cpp:38:21: error: ‘board’ was not declared in this scope
38 | cout << board[0][0] << '\n';
| ^~~~~
lboard.cpp:41:25: error: ‘board’ was not declared in this scope
41 | cout << max(board[0][1], board[0][0]+board[0][1]) << '\n';
| ^~~~~
lboard.cpp:44:25: error: ‘board’ was not declared in this scope
44 | cout << max(board[0][0], board[0][0]+board[1][0]) << '\n';
| ^~~~~
lboard.cpp:47:28: error: ‘board’ was not declared in this scope
47 | sum = max(sum, board[0][0]);
| ^~~~~