Problem flamethrower
User Memeathon
Submission Time 2025-02-12 22:05:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
2 | #include maxn 1000
| ^~~~
flamethrower.cpp:5:13: error: ‘maxn’ was not declared in this scope
5 | int n, k, a[maxn], inp, Sum=0, maxSum;
| ^~~~
flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:9:10: error: ‘a’ was not declared in this scope
9 | cin >> a[i];
| ^
flamethrower.cpp:12:8: error: ‘a’ was not declared in this scope
12 | Sum+=a[i];
| ^