Problem lboard
User kritkrm
Submission Time 2023-03-05 00:04:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lboard.cpp: In function ‘int main()’:
lboard.cpp:26:19: error: ‘max’ was not declared in this scope
26 | cur = max(cur + arr[row][i], arr[row][i]);
| ^~~
lboard.cpp:32:19: error: ‘max’ was not declared in this scope
32 | cur = max(cur + arr[row][i], arr[row][i]);
| ^~~
lboard.cpp:40:19: error: ‘max’ was not declared in this scope
40 | cur = max(cur + arr[i][col], arr[i][col]);
| ^~~
lboard.cpp:46:19: error: ‘max’ was not declared in this scope
46 | cur = max(cur + arr[i][col], arr[i][col]);
| ^~~