Petr Visits ISM
CodeChefOpen on judge ↗
Problem description. Once, The CSE department of ISM Dhanbad organizes a workshop on Competitive Programming. Guess what who is the guest of honor, Petr Mitrichev himself. On that occasion he gives a nice glimpse of how he started coding and got into Google. After he is done with his presentation, he asks the students to solve an Arithmetico-Geometric Series to check their skills. The A.G.P is a
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