The Revenge
CodeChefOpen on judge ↗
"$The\ $ $name\ $ $is\ $ $Sherlock\ $ $Holmes\ $ $and\ $ $the\ $ $address\ $ $is\ $ $221B\ $ $Baker\ $ $Street$." After Watson killed the Cabbie, all the cabbies in London became angry and they wanted to raid Sherlock's Home at the same time. They are currently in London which is on an infinite $X$ - $Y$ plane. There are total of $N$ cabbies in London and they all are initially on this $X$ - $Y$
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