← All problemsSign in

Miu Plays Minecraft

Miu is playing minecraft and she has decided to tame cats today! Miu currently has $R$ amount of raw fish. Each cat takes exactly 3 **raw** fish to be tamed. However, Miu is also hungry. Her hunger is denoted by $H$. Miu only eats **cooked** fish. Each cooked fish restores her hunger by 2. Miu also has $C$ amount of coal. Each coal can cook 8 amount of fish. Miu wants to restore her

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start