Problem snacks
User feynmantree
Submission Time 2025-03-21 21:32:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

snacks.cpp: In function ‘int main()’:
snacks.cpp:24:15: error: ‘j’ was not declared in this scope
24 | zz += j[0]*j[1];
| ^
snacks.cpp:37:43: error: expected ‘;’ before ‘size’
37 | zz += a[Lidx][1]*(h[i][2] - a[Lidx][0])
| ^
| ;
38 | size += a[Lidx][1];
| ~~~~