Problem snacks
User AaravRastogi
Submission Time 2026-02-15 17:37:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

snacks.cpp: In function ‘int main()’:
snacks.cpp:20:4: error: ‘tf’ was not declared in this scope; did you mean ‘f’?
20 | tf += f;
| ^~
| f
snacks.cpp:27:10: error: ‘tf’ was not declared in this scope; did you mean ‘tm’?
27 | A[x]+= tf;
| ^~
| tm