Sherlock and the Great Game
CodeChefOpen on judge ↗
Sherlock: "Why are you doing this?" Moriarty: "I like to watch you dance." Sherlock is now facing the biggest challenge of his life. Having placed bombs in various important checkpoints in London, Moriarty is planning to have more than his share of fun. Sherlock has deduced that the checkpoints form a network with the property that it is possible to reach any checkpoint from any other checkpoin
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