Dhoom 4
CodeChefOpen on judge ↗
Problem Statement Samarpit is the main hero of the Dhoom 4. He is trying to steal from the Code Bank Of Hackers. Samarpit has a key with an integer value printed on it. He also has N other keys with each key having its own specific value. Samarpit is trying to break the Lock for which he is supposed to get to the lock's key value. He can perform one type of operation.Take his own key and one of
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