← All problemsSign in

The Riddle

Mr. A believes that if debugging is the process of removing bugs, then programming must be the process of putting them in. Thus, Mr. A handed a code (which prints the answer to a riddle) to Mr. Y (who is one of his assists). The code is having '3' bugs. The riddle goes like this: When one does not know what it is, then it is something; but when one knows what it is, then it is nothing. A expect

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start