Problem | flamethrower |
---|---|
User | FIips |
Submission Time | 2023-12-30 11:25:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
flamethrower.cpp: In function ‘int32_t main()’:
flamethrower.cpp:14:6: error: ‘i’ was not declared in this scope
14 | for(i=1; i<N; ++i){
| ^
flamethrower.cpp:15:6: error: expected ‘;’ before ‘Array’
15 | cin Array[i];
| ^~~~~~
| ;
flamethrower.cpp:18:6: error: ‘i’ was not declared in this scope
18 | for(i=1; i<(N+K); ++i){
| ^
flamethrower.cpp:21:8: error: ‘k’ was not declared in this scope
21 | if(i-k<0){
| ^
flamethrower.cpp:24:18: error: ‘k’ was not declared in this scope
24 | sum -= Array[i-k];
| ^