Problem | flamethrower |
---|---|
User | Hijackedsoul |
Submission Time | 2024-06-19 22:10:03 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:24:9: error: ‘total’ was not declared in this scope
24 | total += arr[i] - arr[i - K]; // Update total to include the next element and exclude the first element of the previous window
| ^~~~~