Problem splithunny
User cheryltkx
Submission Time 2026-07-25 10:50:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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:41:35: error: ‘cnt’ was not declared in this scope; did you mean ‘int’?
41 | cout <<"Oh, bother. There are"<<cnt<<" pools of hunny";
| ^~~
| int