Problem flamethrower
User isaackhong
Submission Time 2023-01-07 15:58:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:8:11: error: ‘n’ was not declared in this scope
8 | int a[n];
| ^
flamethrower.cpp:10:10: error: ‘a’ was not declared in this scope
10 | cin >> a[i];
| ^
flamethrower.cpp:17:20: error: ‘a’ was not declared in this scope
17 | sum += a[i + j];
| ^