Problem flamethrower
User carson
Submission Time 2025-03-12 15:34:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:13:11: error: ‘arr’ was not declared in this scope
13 | sum += arr[j];
| ^~~
flamethrower.cpp:20:13: error: expected ‘}’ at end of input
20 | cout << max;
| ^
flamethrower.cpp:4:1: note: to match this ‘{’
4 | {
| ^