Irene and Fibonacci
CodeChefOpen on judge ↗
"This is how I want you to remember me. The woman who beat you." ―Irene Adler Irene Adler knows very well that if there is something Sherlock isn’t good at, it is with the Fibonacci Numbers. She throws him an open challenge. She wants Sherlock to find the number of different ways in which a number N could be represented as sum of Fibonacci numbers, without using K in the representation where K is
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