Byte to Bit
In the magical land of Byteland, there are three kinds of citizens: - a Bit - $2\;\mathrm{ms}$ after a Bit appears, it grows up and becomes a Nibble (i.e. it disappears and a Nibble appears) - a Nibble - $8\;\mathrm{ms}$ after a Nibble appears, it grows up and becomes a Byte - a Byte - $16\;\mathrm{ms}$ after a Byte appears, it grows up, splits into two Bits and disappears Chef wants to know
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