Problem | stepgame |
---|---|
User | tyjun |
Submission Time | 2023-11-29 23:09:35 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
stepgame.cpp: In function ‘int main()’:
stepgame.cpp:30:3: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
30 | ans = min(ans, prefix[i] - maxprefix[i-1]);
| ^~~
| abs
stepgame.cpp:33:13: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
33 | cout << ans;
| ^~~
| abs