Problem flamethrower
User chenxi8833
Submission Time 2023-02-17 10:02:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:17:3: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
17 | ans = max(ans, sum);
| ^~~
| abs
flamethrower.cpp:19:10: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
19 | cout << ans;
| ^~~
| abs