Problem globalwarming
User OIaspirant2307
Submission Time 2024-02-23 18:47:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

globalwarming.cpp: In function ‘int main()’:
globalwarming.cpp:37:4: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
37 | ans = max(ans,curr);
| ^~~
| abs