Problem lemonade2
User yhkhoo
Submission Time 2024-12-14 11:55:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lemonade2.cpp: In function ‘int main()’:
lemonade2.cpp:51:25: error: ‘dp2’ was not declared in this scope; did you mean ‘dp’?
51 | dp2[j][k] = min(dp[j][k], dp[t1][t2] + 1);
| ^~~
| dp
lemonade2.cpp:58:16: error: ‘dp2’ was not declared in this scope; did you mean ‘dp’?
58 | dp[j][k] = dp2[j][k];
| ^~~
| dp