Miu Needs Energy
CodeChefOpen on judge ↗
Miu - The smart cat is hungry and there are $N$ plates arranged in a sequence. Each of these plates contain either a Fish or a Jelly. Miu is about to enjoy her meal, but her friend cat Tom will not let her do that alone. Tom likes Jelly but he hates Fish. However, Miu likes both Jelly and Fish. Tom always sticks around with Miu wherever she goes. Let us say if Miu is eating from the $it
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.
Sign in to chat with the tutor and save your progress.
Sign in to start