Find The Key
CodeChefOpen on judge ↗
Problem description. Owlman wants to destroy the earth. Batman come to the rescue. Owlman has planted a bomb having the power to destroy earth. To diffuse the bomb Batman need to solve a puzzle. Batman need to enter a password to diffuse the bomb. There are only two button on the keypad, A and B. Batman is also given a n length string consisting of only these two characters. There was a leak in
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