Problem lboard
User Hokageoftheleaf
Submission Time 2026-02-10 12:36:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lboard.cpp: In function ‘int main()’:
lboard.cpp:65:58: error: ‘Down’ was not declared in this scope; did you mean ‘Dn’?
65 | ans = max({ans,Rg[i][j] + Lf[i][j],Up[i][j] +Down[i][j]});
| ^~~~
| Dn
lboard.cpp:65:69: error: no matching function for call to ‘max(<brace-enclosed initializer list>)’
65 | ans = max({ans,Rg[i][j] + Lf[i][j],Up[i][j] +Down[i][j]});
| ^
In file included from /usr/include/c++/9/bits/specfun.h:45,
from /usr/include/c++/9/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from lboard.cpp:1:
/usr/include/c++/9/bits/stl_algobase.h:222:5: note: candidate: ‘template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _