Break The Probability
CodeChefOpen on judge ↗
Kaumudi and Aayushi were playing Dumsharaz but Kaumudi felt bored so they decided to sleep. But, Aayushi is afraid that Kaumudi will go to shopping without taking her along with. So, she decide to indulge Kaumudi in a task. Clever Aayushi has N boxes, N keys and N locks.There is 1 key for Each lock and Aayushi put all locks in N boxes. Shuffled all the keys that are with her and slipped them into
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