is it Fibonacci
CodeChefOpen on judge ↗
Problem statement Henry, a graduate research assistant, is doing research on the properties of Fibonacci numbers. He is overloaded with work from his Professor and could make use of some automation. He requests you to write a program which would tell him whether or not each number from the sample data, which he provides, is a Fibonacci number of not. Write the program for him. NOTE: Fibonacci
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