Problem flamethrower
User Cat
Submission Time 2025-03-26 14:49:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int maxSum(int*, int, int)’:
flamethrower.cpp:10:11: error: a function-definition is not allowed here before ‘{’ token
10 | int main(){
| ^
flamethrower.cpp:21:1: error: expected ‘}’ at end of input
21 | }
| ^
flamethrower.cpp:4:1: note: to match this ‘{’
4 | {
| ^