Problem catteams
User hariaakash646
Submission Time 2023-12-24 18:56:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catteams.cpp: In function β€˜int main()’:
catteams.cpp:59:11: error: invalid types β€˜__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type {aka long long int}[int]’ for array subscript
59 | dp[i][j] = ma + vec[j];
| ^