Problem flamethrower
User MagicHenry
Submission Time 2024-07-26 16:58:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp:3:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
3 | int sum[n+2];
| ^
| yn
flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:11:3: error: ‘sum’ was not declared in this scope
11 | sum[i] = sum[i-1] + a;
| ^~~