| Problem | hungryrabbits1 |
|---|---|
| User | Phoubia01 |
| Submission Time | 2025-11-13 16:33:12 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
hungryrabbits1.cpp: In function ‘int main()’:
hungryrabbits1.cpp:10:9: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
10 | ans = max(ans, max(i + big, n - i - 1 + big));
| ^~~
| abs
hungryrabbits1.cpp:10:32: error: ‘big’ was not declared in this scope
10 | ans = max(ans, max(i + big, n - i - 1 + big));
| ^~~
hungryrabbits1.cpp:12:9: error: ‘big’ was not declared in this scope
12 | if (big != 0){
| ^~~
hungryrabbits1.cpp:13:17: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
13 | cout << ans;
| ^~~
| abs