Problem splithunny
User lxmine
Submission Time 2026-07-25 10:51:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

splithunny.cpp:46:61: error: missing terminating " character
46 | cout<<""Oh, bother. There are " << cnt << " pools of hunny.";
| ^~
splithunny.cpp: In function ‘int main()’:
splithunny.cpp:23:2: error: expected ‘,’ or ‘;’ before ‘for’
23 | for (int i=1;i<=r;i++){
| ^~~
splithunny.cpp:23:15: error: ‘i’ was not declared in this scope
23 | for (int i=1;i<=r;i++){
| ^
splithunny.cpp:46:8: error: unable to find string literal operator ‘operator""Oh’ with ‘const char [1]’, ‘long unsigned int’ arguments
46 | cout<<""Oh, bother. There are " << cnt << " pools of hunny.";
| ^~~~
splithunny.cpp:46:14: error: ‘bother’ was not declared in this scope
46 | cout<<""Oh, bother. There are " << cnt << " pools of hunny.";
| ^~~~~~