← All problemsSign in

Moving Clams

Alice and Bob are tired of playing with messages and proving things which the lazy cryptographers should be doing on their own. So they've decided to take the day off, and have come to the beach. Alice soon spots a dirty glass bottle floating in the water, and they find an ancient parchment inside it. On it, is drawn an undirected graph! As luck would have it, they find some colored clam shells ly

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