Kingfisher Aircraft
CodeChefOpen on judge ↗
$Kingfisher$ has recently opened a new plant where they make lots of aircraft. The production is done in a very mysterious way. The firm either produces one extra aircraft in a day or they have a power to double the production of aircraft they had on the previous day. Initially, they have only $1$ aircraft and after some days they have exactly $X$ aircraft. You need to find out the minimum 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