Problem flamethrower
User huangchengcheng
Submission Time 2026-02-28 11:36:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:7:11: error: ‘N’ was not declared in this scope
7 | int a[N];
| ^
flamethrower.cpp:11:16: error: ‘a’ was not declared in this scope
11 | cin >> a[i];
| ^
flamethrower.cpp:17:39: error: ‘a’ was not declared in this scope
17 | currwindow = currwindow + a[ind];
| ^