Problem flamethrower
User TheAccomplice
Submission Time 2024-04-27 10:35:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:22:22: error: expected ‘;’ before ‘}’ token
22 | currentsum = maxsum
| ^
| ;
23 | }
| ~
flamethrower.cpp:26:17: error: expected ‘;’ before ‘for’
26 | currentsum = 0
| ^
| ;
27 | for (int j = i; j < i + 6; ++j){
| ~~~
flamethrower.cpp:27:19: error: ‘j’ was not declared in this scope
27 | for (int j = i; j < i + 6; ++j){
| ^