Problem lboard
User trisanu123
Submission Time 2023-01-30 21:24:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lboard.cpp: In function ‘void kadaner(std::vector<long long int>&, int, bool)’:
lboard.cpp:8:2: error: ‘ll’ was not declared in this scope
8 | ll cbst = 0;
| ^~
lboard.cpp:11:6: error: ‘cbst’ was not declared in this scope; did you mean ‘cbrt’?
11 | if(cbst < 0) cbst = 0;
| ^~~~
| cbrt
lboard.cpp:12:34: error: ‘cbst’ was not declared in this scope; did you mean ‘cbrt’?
12 | row[r][idx] = max(row[r][idx], cbst + v[i]);
| ^~~~
| cbrt
lboard.cpp: In function ‘void kadanec(std::vector<long long int>&, int, bool)’:
lboard.cpp:18:2: error: ‘ll’ was not declared in this scope
18 | ll cbst = 0;
| ^~
lboard.cpp:21:6: error: ‘cbst’ was not declared in this scope; did you mean ‘cbrt’?
21 | if(cbst < 0) cbst = 0;
| ^~~~
| cbrt
lboard.cpp:22:34: error: ‘cbst’ was n