Problem globalwarming
User samvar0907
Submission Time 2024-04-05 18:45:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

globalwarming.cpp: In function ‘int gw(int, const std::vector<int>&)’:
globalwarming.cpp:58:21: error: ‘n’ was not declared in this scope
58 | ans(n)
| ^
globalwarming.cpp:58:17: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
58 | ans(n)
| ^~~
| abs