Sunny and Bitland
CodeChefOpen on judge ↗
One Day Sunny was playing outside his house and a Magical Gate suddenly appeared in front of him. Passing through it will lead him to mysterious world called Bitland . But the Gate is guarded by a gatekeeper called $arcHR$ he will only allow Sunny to pass through the gate if he solves the problem given by him. As Sunny receives a problem related to bitwise $AND$ operation, but he is not very goo
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