The Detective Problem
CodeChefOpen on judge ↗
Ayush is a wealthy businessman. Unfortunately he loses his wife in a deadly accident. Out of sorrow, he started suffering from paranoid disorder in which patients start suspecting the incidents and people around. As a result, he suspects that the incident was not accident, rather a murder. To investigate into this and find out the murders he appoints a detective 1 named D. After some time, he star
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