Problem flamethrower
User XY3491
Submission Time 2026-02-14 11:01:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:9:8: error: ‘a’ was not declared in this scope
9 | cin>>a[i];
| ^
flamethrower.cpp:15:7: error: ‘a’ was not declared in this scope
15 | sum=a[i]+a[i+1]+a[i+2];
| ^