Problem | lis_easy |
---|---|
User | AppleOnAstick |
Submission Time | 2023-11-10 10:35:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lis_easy.cpp: In function ‘int32_t main()’:
lis_easy.cpp:27:2: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
27 | ans = max(ans, lis[i]);
| ^~~
| abs
lis_easy.cpp:29:10: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
29 | cout << ans;
| ^~~
| abs