Problem flamethrower
User Duk168
Submission Time 2024-01-12 12:12:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:28:31: error: ‘a’ was not declared in this scope
28 | cur_cost = cur_cost - a[j - n] + value;
| ^