Problem flamethrower
User herngr3y
Submission Time 2026-03-28 19:04:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:14:17: error: ‘i’ was not declared in this scope
14 | } for (int j = i; j < N && j < i + K; j++) {
| ^
flamethrower.cpp:15:3: error: ‘sum’ was not declared in this scope
15 | sum += a[j];
| ^~~