Problem lemonade2
User justin271828
Submission Time 2024-12-14 10:32:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lemonade2.cpp: In function ‘int main()’:
lemonade2.cpp:18:3: error: ‘sum’ was not declared in this scope; did you mean ‘sums’?
18 | sum[arr[i].A] += arr[i].B;}
| ^~~
| sums