Problem flamethrower
User Daddy
Submission Time 2023-11-06 13:07:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:11:6: error: ‘a’ was not declared in this scope
11 | if(a[i]+a[i+1]+a[i+2]>x){
| ^
flamethrower.cpp:14:10: error: expected ‘}’ at end of input
14 | }cout<<x;
| ^
flamethrower.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^