PAL
CodeChefOpen on judge ↗
Bruce Wayne retires as Batman and now own an apple orchard and so does Mr.Fox. Now as Mr.Fox is creative and cannot sit idle he decides to play tricks on Bruce. He gives Bruce a number N and tells him to represent the number using his any 32 apples. Bruce has two color apples in his orchard red and green.. Now , Bruce being Batman does this task easily , so Mr. Fox asks him to find length of long
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