Problem gecko
User carson
Submission Time 2025-04-29 20:40:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gecko.cpp: In function ‘int main()’:
gecko.cpp:15:32: error: expected ‘)’ before ‘arr’
15 | arr[i][j] = max(max(arr[i-1]arr[j-1],arr[i-1][j]),arr[i-1],[j+1])) + values[i][j]));
| ~ ^~~
| )
gecko.cpp:15:52: error: no matching function for call to ‘max(__gnu_cxx::__alloc_traits<std::allocator<std::vector<int> >, std::vector<int> >::value_type&, __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type&)’
15 | arr[i][j] = max(max(arr[i-1]arr[j-1],arr[i-1][j]),arr[i-1],[j+1])) + values[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 gecko.cpp:1:
/usr/include/c++/9/bits/stl_algobase.h:222:5: note: candi