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

Compile Error

flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:11:13: error: ‘arri’ was not declared in this scope; did you mean ‘arr’?
11 | if(arr[i]+arri+1]+arr[i+2]>x){
| ^~~~
| arr
flamethrower.cpp:11:19: error: expected ‘)’ before ‘]’ token
11 | if(arr[i]+arri+1]+arr[i+2]>x){
| ~ ^
| )
flamethrower.cpp:11:19: error: expected primary-expression before ‘]’ token
flamethrower.cpp:14:10: error: expected ‘}’ at end of input
14 | }cout<<x;
| ^
flamethrower.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^