Love is in the air
CodeChefOpen on judge ↗
Deepak has $N$ girlfriends. Each of his girlfriends has a unique love factor for Deepak. The love factor of his girls keeps on increasing and it rather follows a particular pattern such as the sequence of differences between the love factors of two consecutive girlfriends forms a Geometric Progression with a common ratio >1. But Since he is very busy so he remembers the love factors of his first t
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