Problem | catlunch |
---|---|
User | Rolo |
Submission Time | 2024-03-29 20:57:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
catlunch.cpp: In function ‘int main()’:
catlunch.cpp:27:15: error: invalid types ‘__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}[int]’ for array subscript
27 | dp[i][j] = max(dp[i-1][j-1], dp[i-1][j] + t[i],0);
| ^
catlunch.cpp:27:34: error: invalid types ‘__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}[int]’ for array subscript
27 | dp[i][j] = max(dp[i-1][j-1], dp[i-1][j] + t[i],0);
| ^
catlunch.cpp:27:46: error: invalid types ‘__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}[int]’ for array subscript
27 | dp[i][j] = max(dp[i-1][j-1], dp[i-1][j] + t[i],0);
| ^