← All problemsSign in

Harry and Colored Candies

Professor Slughorn has invited Harry and Hermoine to his Slug Club Christmas Party, Harry notices Draco Malfoy roaming the hallway although he wasn’t invited Harry grows suspicious of him and decides to use Veritaserum potion (Truth Serum) on Draco Malfoy to know his intentions. Harry mixed the potion laced Muffin with even pairs of different colored muffins. Now Harry must find the odd col

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