Queen of Andals
CodeChefOpen on judge ↗
Daenerys Targaryen, the First of Her Name, was ousted from the Iron Throne during Robert's Rebellion. During her campaign in Slaver's Bay, she came across the army of the Andals. She found a unique feature in the army. The army was fierceful when they were arranged into groups of fibonacci numbers i.e. Each group consisting of x members such that x is a fibonacci number (Consider fibonacci number
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