| Problem | splithunny |
|---|---|
| User | sharelletqx |
| Submission Time | 2026-07-25 10:49:07 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
splithunny.cpp: In function ‘int main()’:
splithunny.cpp:21:4: error: ‘cnt’ was not declared in this scope; did you mean ‘int’?
21 | cnt++;
| ^~~
| int
splithunny.cpp:31:13: error: ‘x_dx’ was not declared in this scope; did you mean ‘dx’?
31 | int nx=x_dx[dir];
| ^~~~
| dx
splithunny.cpp:41:34: error: ‘cnt’ was not declared in this scope; did you mean ‘int’?
41 | cout<<"Oh, bother. There are "<<cnt<<" pools of hunny.";
| ^~~
| int