Finding Progression
CodeChefOpen on judge ↗
[Pandora] (https://www.worldhistory.org/Pandora/) has a box. She wants to open it but the catch is, there is a lock of four distinct number. The decryption of the lock is such a way that, the four numbers follow a progression either arithmetic progression or geometric progression. Pandora has already gussed first three numbers correctly. The three successive numbers of the sequence is $A ,B, C$. 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