Problem | catteams |
---|---|
User | trisanu123 |
Submission Time | 2024-08-24 19:50:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
catteams.cpp: In function ‘int maxBondingSum(int, int, std::vector<int>&)’:
catteams.cpp:11:76: error: expected ‘)’ before ‘;’ token
11 | dp[i][j] = max(dp[i][j], dp[p-1][j-1] + E[i - 1] - E[p - 1];);
| ~ ^
| )
catteams.cpp:11:77: error: expected primary-expression before ‘)’ token
11 | dp[i][j] = max(dp[i][j], dp[p-1][j-1] + E[i - 1] - E[p - 1];);
| ^