Problem bananasmoothie
User parkjimn
Submission Time 2025-06-19 17:04:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bananasmoothie.cpp: In function ‘int main()’:
bananasmoothie.cpp:13:13: error: expected initializer before ‘sum’
13 | long lonng sum = 0;
| ^~~
bananasmoothie.cpp:16:4: error: ‘sum’ was not declared in this scope
16 | sum += Q[k-1 + i*k];
| ^~~
bananasmoothie.cpp:19:10: error: ‘sum’ was not declared in this scope
19 | cout << sum;
| ^~~